Forum Replies Created
-
In reply to: Replies not indenting
well 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; }
In reply to: Load scripts when using shortcodeyou could just enqueue it
bbp_enqueue_script( bbpress-editor-always, 'js/editor.js', array( 'jquery' ), '2.6.4', true );
thanks for the update, and yes please come back if you get any further
thanks – I’m just a user who helps out here, not a bbpress author.
so
1. can you confirm that the above plugin is not necessary – bbpress already does this ?
2.
can you try this code
add_filter( 'wpseo_metadesc', 'rew_meta_desc' ); function rew_meta_desc( $content ) { global $post; if ($post->post_type == 'reply' ) { $order = $post->menu_order ; $post_parent = $post->post_parent ; $title = get_the_title ($post_parent) ; $content = $title.' '.$order ; } return $content; }
Put this in your child theme’s function file – or use
In reply to: [bbp-topic-form] too wide when not logged in.theme specific, bbpress just uses the width your theme gives it.