Structured Data Testing tool Defeated, schema mark up defeated, Google Love Aquired
So If you are like me you have probably spent a good deal of time trying to get your website results on the structured data testing tool to appear like mine below. well after going to heaven and beyond on the internet i found out that i was on my own so therefore i took matters into my own hands. after series of hacks and stitches i was able to put together pieces of what works and hence the result you see below. with these type of structure google bots are like your pals because they know you. and with these type of rich snippets you come out good in search results and your click through rate goes through the roof. Note google does not rank you based on rich snippets, but you get indexed faster, and you increase click through rates from organic search. on the other hand there is something called google knowledge base, which if used correctly can put you above a high authority site ill teach you about that on request. ok so yea just thought i share this with you guys. if you want me to create a walk through step by step just drop me a comment. if a lot of people need this ill do it. but again its quite a few steps to it so it has to be at least 5 people interested before i do it other than that. just ask me for d specific area you have problems with.www.worldstarhiphopafrica.com
Recent Comments
11
A walk through of your process would be great! I look forward to it. Thanks for sharing. Best regards to you.
Sounds really good. You can count me among the ones who will be interested by a walk through. Thanks for sharing.
What I don't understand about mine is, I have 8 problems but all the rest are ok. Mine says "updated error" and "author error" on those 8. I am like you, I have searched but didn't find anything.
See more comments
sorry about the wait guys i had to come up with a universal solution because the first method only work in some but not all my sites.
'.$title.' was last modified: '.$t.' by '.$author.' ';
ok here we go.
step 1
copy the below code and paste it just before the last line of your themes function.php
//mod content
function hatom_mod_post_content ($content) {
if ( in_the_loop() && !is_page() ) {
$content = ''.$content.'';
}
return $content;
}
add_filter( 'the_content', 'hatom_mod_post_content');
//add hatom data
function add_mod_hatom_data($content) {
$t = get_the_modified_time('F jS, Y');
$author = get_the_author();
$title = get_the_title();
if(is_single()) {
$content .= '
}
return $content;
}
add_filter('the_content', 'add_mod_hatom_data');
step 2
Test your post page not you hompage. your hompage will give errors all the time due to something else entirely. Your main concern is how your posts appear. goodluck and let me know if you have any problem.
Note
while making any changes to your functions.php it is in your best interest to open your fumctions.php in two windows so that if you mess up one you can just hit save in the next window. Goodluck guys