Topic RSS
I am trying to get the custom meta description (forum > components > extensions & extras > Meta Tags) to show up as well as the customer keywords and they are not.
I know it has something to do with my Wordpress header.php file but I am not sure what. My current settings are: Use Custom Meta Description on Main Forum Page Only and Use Forum Description on Forum and Topic Pages > IS CHECKED, Custom meta tag added > "Discussing University of Utah sports, athletes and a little smack!", and the Use Custom Keywords (entered below) on Forum Pages > IS CHECKED.
I would like for custom description to show up on the main page, the forum description to show up when on a forum pages and the topic title to show up as the description on the topic pages.
Also need to know how to get the custom key words to show up – which they are currently not.
Here is the meta section from my header.php Wordpress file -
<title><?php if (is_home()): bloginfo('name'); print(" ("); bloginfo('description'); print(")"); elseif (is_category()): bloginfo('name'); print(": "); single_cat_title(); elseif (is_day() || is_month() || is_year()): bloginfo('name'); print(": "); the_time('F Y'); elseif (is_search()): bloginfo('name'); print(": Search Results"); elseif (is_page()): bloginfo('name'); print(": "); wp_title('',true,''); else: bloginfo('name'); print(": "); wp_title('',true,''); endif; ?></title>
<meta name="description" content="<?php if (have_posts()&& is_single()):while(have_posts()):the_post(); the_excerpt_rss(20,2); endwhile; elseif (is_category()): single_cat_title(); print(" category of "); bloginfo('name'); elseif (is_day() || is_month() || is_year()): the_time('F Y'); print(" archive of "); bloginfo('name'); else: bloginfo('description'); endif; ?>" />
<meta name="keywords" content="utah, utes, university, sports, football, basketball, baseball, gymnastics, soccer, softball, golf, ski, volleyball, track, field, swimming, diving<?php get_the_tag_list( $before = ',', $sep = ',', $after = '' ); ?>" />
Any help would be greatly appreciated!
Here is the website this script is on – http://www.utahutesgameday.com…..iscussion/
are you using an seo plugin? looks like something is overwriting the description… note this code
<meta name="description" content="" />
and the same for keywords
<meta name="keywords" content="utah, utes, university, sports, football, basketball, baseball, gymnastics, soccer, softball, golf, ski, volleyball, track, field, swimming, diving" />
No SEO Plugins. Just the code you see in my header. What is the code that I need to put in the header.php file to pull the forum description and the topic title?
nothing… you probably already have that in your header.php file… is that true? by hardcoding it, you are probably overwriting ours…
This is all I have in the header.php file for meta data –
<title><?php if (is_home()): bloginfo('name'); print(" (");
bloginfo('description'); print(")"); elseif (is_category()):
bloginfo('name'); print(": "); single_cat_title(); elseif (is_day() ||
is_month() || is_year()): bloginfo('name'); print(": "); the_time('F
Y'); elseif (is_search()): bloginfo('name'); print(": Search Results");
elseif (is_page()): bloginfo('name'); print(": "); wp_title(",true,");
else: bloginfo('name'); print(": "); wp_title(",true,"); endif;
?></title>
<meta name="description" content="<?php if
(have_posts()&& is_single()):while(have_posts()):the_post();
the_excerpt_rss(20,2); endwhile; elseif (is_category()):
single_cat_title(); print(" category of "); bloginfo('name'); elseif
(is_day() || is_month() || is_year()): the_time('F Y'); print(" archive
of "); bloginfo('name'); else: bloginfo('description'); endif; ?>"
/>
<meta name="keywords" content="utah, utes, university, sports,
football, basketball, baseball, gymnastics, soccer, softball, golf,
ski, volleyball, track, field, swimming, diving<?php
get_the_tag_list( $before = ',', $sep = ',', $after = " ); ?>" />
As such, I see no variable that is replaced or used that will allow me to put in the forum's custom description, etc, etc. I don't know what else to do but to hard code it. Any help would be appreciated or if you could let me know what the code that I need to put in the header.php file to pull the forum description and the topic title?
you are missing the point. there is not variable or code to put in the header. its done automatically.
EXCEPT you already have it hardcoded in the header… this:
(have_posts()&& is_single()):while(have_posts()):the_post();
the_excerpt_rss(20,2); endwhile; elseif (is_category()):
single_cat_title(); print(" category of "); bloginfo('name'); elseif
(is_day() || is_month() || is_year()): the_time('F Y'); print(" archive
of "); bloginfo('name'); else: bloginfo('description'); endif; ?>"
/>
<meta name="keywords" content="utah, utes, university, sports,
football, basketball, baseball, gymnastics, soccer, softball, golf,
ski, volleyball, track, field, swimming, diving<?php
get_the_tag_list( $before = ',', $sep = ',', $after = " ); ?>" />
already hardcodes it in your header to something else… and is likley overriding what we are outputting…
as a test, try removing those hardcoded lines from your header and see if the spf ones appear…
so you removed the keywords from your header.php too?
what are the two keyword options settings on forum – components – extensions?
9:12 pm
sorry for pulling out this old thread, but I would like to know how the forum here is configured to publish the meta description and meta keywords through All in one Seo. On my website both are missing, but I already installed All in one SEO.
all in one seo is not needed… but we work with it… you can set the forum seo options on forum – components – seo options… of course that assumes 4.2.x and you posted that in the 4.1.x forum… so you might need to upgrade…
also make sure you havent overriden any forum options on the wp page itself in the aioseo meta box on the new/edit page panel…
Most Users Ever Online: 444
Currently Online: Conrad_Farlow, steve.engelking, jawaulk, irlandes1, joelrob
78 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2626
Members: 7363
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10897
Posts: 79582
Newest Members: Rick Thomas, joelrob, ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22240), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline

Quote



Visit 
Privacy Policy



