Results 11 to 11 of 11
-
16th Mar 2012, 04:55 PM #11OPBannedWebsite's:
cityvillehelp.comi could fix this
found it out!!!
just tell me what is the function to echo the post description ??? (content text of the post)
PHP Code:<meta property="og:description" content="<?php
while(have_posts()):the_post();
$out_excerpt = str_replace(array("\r\n", "\r", "\n"), "", get_the_excerpt());
echo apply_filters('the_excerpt_rss', $out_excerpt);
endwhile; ?>" />
tell me how to fix it out ???
---------- Post added at 04:55 PM ---------- Previous post was at 04:36 PM ----------
Fixed by Myself
just replacing the above code with the following solved my problem
PHP Code:<meta property="og:description" content="<?php echo strip_tags(get_the_excerpt($post->ID)); ?>" />
everything is now fine
Thanks to all of you , for giving me idea , which helped me in figuring out the problem
special thanks to mintcold ...
rep added bro
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Wordpress Designer + Coder (Simple Work)
By Uchiha-Madara in forum Completed TransactionsReplies: 0Last Post: 19th May 2012, 02:44 PM -
[Hiring] Css services to My footer(wordpress)-Simple
By SuperKewlGuy in forum Completed TransactionsReplies: 0Last Post: 9th Dec 2011, 10:54 PM -
Wordpress Redirect - Hopefully simple question.
By Ashleyuk1984 in forum Technical Help Desk SupportReplies: 0Last Post: 20th Oct 2011, 08:42 PM -
[Selling] Simple Wordpress [PSD Only]
By azerone in forum Completed TransactionsReplies: 0Last Post: 13th Jul 2011, 08:11 PM -
Simple Images Resize in Wordpress
By fdls in forum Tutorials and GuidesReplies: 15Last Post: 28th May 2011, 07:10 AM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...