Support Forum
Hello,
The Forum was displaying fine until I updated to the latest version. Now when I go to the forum and view a forum or a forum post, the title of the post shows up in plain text in the header and I can't get rid of it. You can see it here:
http://diablo.cliftondomains.c.....d-results/
and any other page assosciated with forum like:
http://diablo.cliftondomains.c.....iscussion/
Please help as this is for a client.
please check forum - integration - page and permalink... and check the filter wp list pages option and see if that helps...
Visit Cruise Talk Central and Mr Papa's World
are you talking about the text in the header in the upper left???
that appears to be coming from the wp theme header file outputting something in the html head tags... can you look in the wp theme header.php (or wherever its doing the wp title stuff) and see what its doing?? wp did change in 3.4 how that function works... which wp version are you on?
Visit Cruise Talk Central and Mr Papa's World
Thanks.
Yes, I am talking about the Extra Text to the Left, in the header on the Simple:Press Forum pages.
I am using the latest version of Genesis and the latest verison of Wordpress 3.4.1. This is only happening on the Simple:press forum pages and only started happening once I upgraded to the most recent release of Simple:press. I have simple:press installed on another site and I have not upgraded it to the new release and it doesn't have this problem.
When I look at the source code it is showing that Extra Text portion of the Simple:Press page title outside of the <title> tags and I can't get to it.
I also notice that it isn't happen on the Forum page it self: http://diablo.cliftondomains.c.....port/forum - it only happens when you access a group or post in the forum itself - inside simple:press, which tells me it is not the theme or what the theme is outputting by header.php.
Just to be sure, I cloned the site and uploaded my old version of Simple:press - the one before this release - and the problem does not exist in that installation. you can see it here on the cloned site here:
http://diablo.cliftoncreativew.....iscussion/
The General Discussion page outputs just fine. No extra text in the header. But if you go to the updated version of Simple:Press on the other site:
http://diablo.cliftondomains.c.....iscussion/
the page is outputting Extra text in the header - the name of the forum "General Discussion |" in plain text outside of the page title tags.
It's even worse when you access an actual post in the forum like this:
http://diablo.cliftondomains.c.....aboratory/
See all that extra text in the header?
This is what leads me to believe it is a problem with this latest release. Can you help?
Kindly,
Clifton
Judging from your response I have to assume you did not look at the way the title is being output by the theme. We asked for that because it may well be useful information in diagnosing your issue which is currently quite a unique report.
It would also be useful to know what the forum SEO options are set to. Some hard information is actually the only way we will be able to make any sort of diagnosis.
YELLOW
SWORDFISH
|
Whatever you need to help me resolve this issue, I am happy to provide. I'll even give you access to the backend if need be.
SEO options are not set on the forum or this site.
I am using the Genesis Framework. I have created a child theme using the frame work.
Apart from looking at the source code, how would I be able to tell how the title is being output by theme?
Would this be better if I sent you credentials to log in to the site and see for your self? Just tell me how I can get that to you privately and I will. Anything you cna do to help resolve this issue is appreciated.
Thank you.
Thank you Yellow Swordfish and Mr Papa,
I have temporarily resolved the issue. Here is how I did it:
When I went into the SimplePress Menu -> Components -> SEO I unchecked the following options:
-- include forum name in page/browser title
-- include topic name in page/browser title
Once I did that, the Extra Text output in the header disappeared. Which is fine with me but may be something you'll
want to look into.
Thanks for your help.
I updated Simple:Press on a local test site and I have the same problem.
I use WordPress 3.4.1 and Genesis Framework 1.8.2.
I noticed that on groups and forum post the group name and the topic title are put outside the title tags.
The code should be this:
add_filter( 'wp_title', 'genesis_doctitle_wrap', 20 ); /** * Wraps the doctitle in 'title' tags. * * @since 1.3.0 * * @param string $title Document title * @return string Plain text or HTML markup */ function genesis_doctitle_wrap( $title ) { return is_feed() || is_admin() ? $title : sprintf( "<title>%s</title>\n", $title ); } add_action( 'genesis_title', 'wp_title' ); add_filter( 'wp_title', 'genesis_default_title', 10, 3 ); /** * Return filtered post title. * * This function does 3 things: * 1. Pulls the values for $sep and $seplocation, uses defaults if necessary * 2. Determines if the site title should be appended * 3. Allows the user to set a custom title on a per-page/post basis * * @since 0.1.3 * * @uses genesis_get_seo_option() Get SEO setting value * @uses genesis_get_custom_field() Get custom field value * * @global WP_Query $wp_query * @param string $title Existing page title * @param string $sep Separator character(s). Default is '-' if not set * @param string $seplocation Separator location - "left" or "right". Default is "right" if not set * @return string Page title */ function genesis_default_title( $title, $sep, $seplocation ) { global $wp_query; if ( is_feed() ) return trim( $title ); $sep = genesis_get_seo_option( 'doctitle_sep' ) ? genesis_get_seo_option( 'doctitle_sep' ) : '–'; $seplocation = genesis_get_seo_option( 'doctitle_seplocation' ) ? genesis_get_seo_option( 'doctitle_seplocation' ) : 'right'; /** If viewing the home page */ if ( is_front_page() ) { /** Determine the doctitle */ $title = genesis_get_seo_option( 'home_doctitle' ) ? genesis_get_seo_option( 'home_doctitle' ) : get_bloginfo( 'name' ); /** Append site description, if necessary */ $title = genesis_get_seo_option( 'append_description_home' ) ? $title . " $sep " . get_bloginfo( 'description' ) : $title; } /** if viewing a post / page / attachment */ if ( is_singular() ) { /** The User Defined Title (Genesis) */ if ( genesis_get_custom_field( '_genesis_title' ) ) $title = genesis_get_custom_field( '_genesis_title' ); /** All-in-One SEO Pack Title (latest, vestigial) */ elseif ( genesis_get_custom_field( '_aioseop_title' ) ) $title = genesis_get_custom_field( '_aioseop_title' ); /** Headspace Title (vestigial) */ elseif ( genesis_get_custom_field( '_headspace_page_title' ) ) $title = genesis_get_custom_field( '_headspace_page_title' ); /** Thesis Title (vestigial) */ elseif ( genesis_get_custom_field( 'thesis_title' ) ) $title = genesis_get_custom_field( 'thesis_title' ); /** SEO Title Tag (vestigial) */ elseif ( genesis_get_custom_field( 'title_tag' ) ) $title = genesis_get_custom_field( 'title_tag' ); /** All-in-One SEO Pack Title (old, vestigial) */ elseif ( genesis_get_custom_field( 'title' ) ) $title = genesis_get_custom_field( 'title' ); } if ( is_category() ) { //$term = get_term( get_query_var('cat'), 'category' ); $term = $wp_query->get_queried_object(); $title = ! empty( $term->meta['doctitle'] ) ? $term->meta['doctitle'] : $title; } if ( is_tag() ) { //$term = get_term( get_query_var('tag_id'), 'post_tag' ); $term = $wp_query->get_queried_object(); $title = ! empty( $term->meta['doctitle'] ) ? $term->meta['doctitle'] : $title; } if ( is_tax() ) { $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $title = ! empty( $term->meta['doctitle'] ) ? wp_kses_stripslashes( wp_kses_decode_entities( $term->meta['doctitle'] ) ) : $title; } if ( is_author() ) { $user_title = get_the_author_meta( 'doctitle', (int) get_query_var( 'author' ) ); $title = $user_title ? $user_title : $title; } /** If we don't want site name appended, or if we're on the home page */ if ( ! genesis_get_seo_option( 'append_site_title' ) || is_front_page() ) return esc_html( trim( $title ) ); /** Else append the site name */ $title = 'right' == $seplocation ? $title . " $sep " . get_bloginfo( 'name' ) : get_bloginfo( 'name' ) . " $sep " . $title; return esc_html( trim( $title ) ); } add_action( 'genesis_meta', 'genesis_seo_meta_description' );
1 Guest(s)