Forum Replies Created
-
In reply to: Remove borders in template
try adding this to your custom css
div.bbp-forum-header, div.bbp-reply-header, div.bbp-topic-header, li.bbp-body div.hentry { padding: 0px !important; } .oct-main-content { padding: 0px !important; }
In reply to: Remove borders in templatelink to a forum page please
In reply to: Replies not indentingand just tried twentytwenty and it works
In reply to: Replies not indentingWordPress 5.4.1
bbpress 2.6.5
bbp style pack 4.5.3
twentyten themeIn reply to: Replies not indentingwell it does on my test site, so without seeing your site I can’t say – sorry
In reply to: Replies not indentingok, at the moment you are phoning your garage and telling them your car won’t start. They ask to see it, and you say ‘sorry you can’t – but it’s a Ford, and other people have Fords and they start, so why won’t mine?’ I can’t answer without seeing the site – sorry 🙂
post =- topic ? reply ? both?
just stated happening or always been the case ?
In reply to: Replies not indentinglink to an example on your site please?
In reply to: Replies not indentinghave you tried
dashboard>settings>bbp style pack>bug fixes
Fix Threaded Replies Jump
In reply to: bbPress RoadmapIn reply to: [bbp-topic-form] too wide when not logged in.you could add this to your custom css
.bbp-login-form { width: 60% !important; }
great
ok, suggest you go into these in the backend and resave them
just remove the code
and refresh your browser
ok, so not the way to go.
Let me have a think
thanks, ok lets try this
add_filter( 'wpseo_title', 'rew_meta_title' ); function rew_meta_title( $title ) { global $post ; if ($post->post_type == 'reply' ) { $title = 'this is a reply' ; } return $title; }
thanks – just to ask the obvious, you are running the yoast plugin ?? 🙂
then as a test can you try a correction to my previous code
add_filter( 'wpseo_metatitle', 'rew_meta_title' ); function rew_meta_title( $title ) { global $post ; if ($post->post_type == 'reply' ) { $title = 'this is a reply' ; } return $title; }
if that fails, can you try (as a test only)
add_filter( 'wpseo_metatitle', 'rew_meta_title' ); function rew_meta_title( $title ) { $title = 'this is a reply' ; return $title; }
This should put that phase at the top of every pages, and will at least show that the filter is working.
ok, can I ask again
so how would I know from the link whether it is working – what am I looking for ?
In reply to: first reply stickygreat – glad you are fixed
In reply to: How To Turn off Link Button in ForumSorry I’m just a bbpress user who helps out here. I don’t have time to research every part of code – the answer is no doubt yes.
In reply to: [bbp-topic-form] too wide when not logged in.link to an example on your site please
I don’t have any sites with both yoast and forums on them (my forum sites are profession related sites with private forums so don’t want to advertise!).
So I don’t know which part of the code is faulty.
If you are able to test, then start with
add_filter( 'wpseo_metatitle', 'rew_meta_title' ); function rew_meta_title( $title ) { if ($post->post_type == 'reply' ) { $title = 'this is a reply' ; } return $title; }
this should make the title of each reply ‘this is a reply’
if that works, then we kwow the function is working, but not getting the right answer !
If it doesn’t work, then I’ll come back with another
post type reply is definately bbpress.
so how would I know from the link whether it is working – what am I looking for ?
In reply to: first reply stickyI think this is what you are after
Put this in your child theme’s function file – or use
ah, I understand, sorry not really into SEO
try this
add_filter( 'wpseo_metatitle', 'rew_meta_title' ); function rew_meta_title( $title ) { global $post; if ($post->post_type == 'reply' ) { $order = $post->menu_order ; $post_parent = $post->post_parent ; $topic_title = get_the_title ($post_parent) ; $title = $topic_title.' '.$order ; } return $title; }