Tagged: category page
Hi – What is the easiest way to customize a page of posts from one category? Do you have to use the default design or can you use the layout editor?
Hey blankonblank!
No, unfortunately you can’t use the template builder. If you want to customize the archive page you must customize the code of enfold/archive.php and the post loop file (enfold/includes/loop-index.php).
Regards,
Peter
Hey!
Thank you for the update.
1.) Not sure if you can expand the excerpt container because it is already set to 100%. You can only decrease the padding around it with this on Quick CSS or custom.css:
.av-masonry-entry .av-inner-masonry-content {
padding: 5px;
}
2.) Edit the posts and set the post format to “Link”. Add the link of the website on the post content.
Best regards,
Ismael
Hey!
1) I recommend to use the excerpt field: http://www.clipular.com/c/4541537736196096.png?k=QuY_W21Ghczzv2VdGq9JHU_v1gI to determine the excerpt length. WordPress will display the text you entered in the textarea as excerpt. If you want to generate the excerpt based on the post content use this code:
add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1);
function avia_change_masonry_excerpt_length($length)
{
return 60;
}
and replace 60 with any custom value. The default value is 60 characters. You can insert the code into the child theme functions.php file or enfold/functions.php.
2) You can use the “Link” post format. If this format is set and you added an url to the very beginning of the post content Enfold will link the image to this url and not to the single post page: http://www.clipular.com/c/5277255768997888.png?k=0u0Vjl_5_E5ai8QLIq7HMW86120
Best regards,
Peter