Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 05-28-2014, 05:50 AM
Phil in Abbeville Phil in Abbeville is offline
Contributing Member
 
Join Date: 07-05-08
Location: Lafayette, LA
Posts: 237
iTrader: 0 / 0%
Customizing the Opening Excerpts On Wordpress Category Archive Page

Having a little issue with my wordpress.
On the archive page for my categories' posts, the opening excerpt is not at all what I want displayed.
Is there a way to control what is displayed as a posts excerpt?
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 05-28-2014, 06:01 AM
snakeair snakeair is offline
Super Moderator - Rest in Peace 2018
 
Join Date: 12-31-07
Location: Medford, NJ
Posts: 54,771
iTrader: 3 / 100%
YOAST SEO

Go to this section

SEO---TITLES/METAS----TAXONOMIES

I have these settings:

Title template:: %%term_title%% Archives %%sep%% %%sitename%%
Meta description template: %%excerpt%%

Save changes.

Example of what mine looks like: http://wpoutcast.com/category/plugins/

Last edited by snakeair; 05-28-2014 at 06:05 AM.
 
Reply With Quote
  #3  
Old 05-28-2014, 07:12 PM
Phil in Abbeville Phil in Abbeville is offline
Contributing Member
 
Join Date: 07-05-08
Location: Lafayette, LA
Posts: 237
iTrader: 0 / 0%
Thanks Snake.................again.
When I get a chance I'm going to check out what you suggested.
I'd be the first to admit I need to get the hang of the taxonomy thing.
 
Reply With Quote
  #4  
Old 05-29-2014, 05:52 AM
snakeair snakeair is offline
Super Moderator - Rest in Peace 2018
 
Join Date: 12-31-07
Location: Medford, NJ
Posts: 54,771
iTrader: 3 / 100%
This guide by Yoast was updated this May. This is helpful to understand the plugin and what each feature does.

https://yoast.com/articles/wordpress-seo/

I need to read this because I just found out now it was updated. lol
 
Reply With Quote
  #5  
Old 05-29-2014, 06:43 PM
williamforrest williamforrest is offline
Contributing Member
 
Join Date: 12-01-13
Posts: 98
iTrader: 0 / 0%
you can insert this code on your functions.php file of your current theme
Code:
function custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Read more here: http://codex.wordpress.org/Function_..._using_Filters
 
Reply With Quote
  #6  
Old 05-30-2014, 04:18 AM
freelance-developer's Avatar
freelance-developer freelance-developer is offline
Contributing Member
 
Join Date: 03-28-14
Posts: 105
iTrader: 0 / 0%
Quote:
Originally Posted by snakeair View Post
YOAST SEO

Go to this section

SEO---TITLES/METAS----TAXONOMIES

I have these settings:

Title template:: %%term_title%% Archives %%sep%% %%sitename%%
Meta description template: %%excerpt%%

Save changes.

Example of what mine looks like: http://wpoutcast.com/category/plugins/

This one is helpful for me as well.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show excerpts effect in twenty twelve wordpress theme o2webtech Blogging Forum 1 07-17-2013 03:53 PM
Customizing FB Page Brookie Web Design Lobby 4 05-25-2011 06:55 AM
Problem with page 2 in wordpress category Newbe Coding Forum 0 01-13-2010 09:15 AM
Wordpress ? About Making Posts Excerpts That Lead to The Full Post ggmedia Blogging Forum 5 02-13-2008 08:56 PM
Blog Home Page - Number of Posts? - Full Text or Excerpts? Aviva Blogging Forum 9 12-14-2006 04:59 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:17 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC