You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Wordpress question

UserPost

12:51 am
March 6, 2014


moneystepper

Member

posts 182

Hi everyone,

 

I'm hoping you could help me. On my home and category pages, my theme adds a photo, a header and a summary.

 

However, the "summary" just takes the first few words of the post – which often do not look great…

 

For instance:

 

2014 Goals – February update of my 2014 goals

2014 Goals – February update of my 2014 goals At the start of November, I posted my 2014 New Year Goals & Resolutions. Check out my November update here. Check out my December update here. Check out my January update here.   2014 Goals – February update In summary so far:   Year to Date progress…

 

Instead, I would prefer to add the meta description for each post.

 

Does anyone know the php code to call the meta description rather than the summary for each post?

4:07 pm
March 6, 2014


debtroundup

Raleigh

Member

posts 190

There is actually a box called "excerpt" that you can open in Wordpress.  You have to hit screen options and then click the excerpt box.  This will allow you to override the default excerpt length in Wordpress.  Since meta descriptions are usually using a plugin, it would be a real pain to put hook those together.  Since meta tags shouldn't be more than 160 characters, you should use the excerpt box and craft a summary there.

Debt Roundup | Sprout Wealth | Empowered Shopper

Connect with me on Twitter and Facebook

10:17 pm
March 6, 2014


moneystepper

Member

posts 182

Awesome – thanks so much!! That works perfectly. I really appreciate you taking the time to share that.

 

Now, only a few hundred posts to go through and manually change the excerpts. :)


About the Yakezie.com Forum

Forum Timezone: America/Los_Angeles

Forum Stats:

Groups: 2
Forums: 9
Topics: 6383
Posts: 84794

Membership:

There are 13651 Members
There have been 20 Guests

There are 9 Admins
There are 8 Moderators

Top Posters:

My Personal Finance Journey – 3159
Khaleef @ KNS Financial – 3149
Budgeting in the Fun Stuff – 3048
Sustainable PF – 2759
Miss T @ Prairie Eco-Thrifter – 2213
Eric – PersonalProfitability.com – 2120

Administrators: The College Investor (1935 Posts), Financial Samurai (1803 Posts), LaTisha @YoungFinances (1715 Posts), Forest Parks (1337 Posts), 20s Finances (1147 Posts), Money Reasons (697 Posts), Chris Johnson (78 Posts), Sydney at Untemplater (0 Posts), Suba (0 Posts)

Moderators: Suba @ Wealth Informatics (1876 Posts), sooverthis (1041 Posts), PK @ DQYDJ (361 Posts), jmichelsen (208 Posts), Ramona (13 Posts), JeremyNJohnson (4 Posts), Moderator (0 Posts), rackgeek (0 Posts)