PRIV P57 Pictured Category Archives

by
George Morgan
My articles
Follow on:

Page no: P57

This is the actual plugin we developed: Pictured Category Archives

 

General Archive Settings

Under “Tools–> PromoteAuthor Archives”, the WordPress admin can adjust the general settings for category archives and author archives.

Show longer Excerpts on Archives

In the syndication tools, we make excerpts longer but we do not show them in the archives.

Proposal:
Implement it in Pictured Category Archives.

 

 

 

Problem: Archives with Short Excerpts

.

Category archives does not work or in conflict

Category Archives do not work on it.snbchf, Test on all other sites if they work

It was a Graphene bug with PicCat Archive on doc.e-llusion.org which is fixed.

Developer’s feedback

The specification looks good. it is possible to be done in that way.

 

Tips & Tricks

With one simple function attached to the custom_post_author_archive hook, we can easily show both pages and authors on author archive page.

function custom_post_author_archive( &$query )
{
if ( $query->is_author )
$query->set( ‘post_type’, array(‘page’, ‘post’) );
remove_action( ‘pre_get_posts’, ‘page’ ); // run once!
}
add_action( ‘pre_get_posts’, ‘custom_post_author_archive’ );

 

Tags: ,

See more for P5x Plugins for Categories