Forum Replies Created
-
AuthorPosts
-
It works.
ThanksThis reply has been marked as private.Ismael,
Since I write in many cases the Excerpt manually + I don’t want to be required to add the read more tag this is not a good solution.
All I want is that the same experience as on my front page :http://uppersideblog.staging.wpengine.com/ (hosted on WPengine)
Will be on Archives: http://uppersideblog.staging.wpengine.com/2014/05/As you can see, in Test 1 on main page there is a manual Excerpt + featured image. I have set for this post read more tag while for the others I didn’t. I also didn’t set manual Excerpt for the others. See Blog-Test-6 as an example.
On the Archive page you can see that instead of manual Excerpt I get the read more tag excerpt while Blog-Test-6 the full content is seen.
I want the same experience I have on main page also on archives.
Required experience is:
Always present Excerpt + featured image.
If no manual Excerpt generate automatically the Excerpt or if read more tag exists take that.Thanks
Peter,
There sure is a featured image set. That is exactly the problem.
It shows nicely on the main blog page: http://uppersideblog.staging.wpengine.com/ (hosted on WPengine)
But not on the Archive pages: http://uppersideblog.staging.wpengine.com/2014/05/Thanks
Hi Peter,
Can you please advise.
Thanks
Hi Peter,
The code you provided here is exactly the same code I was using. Just in case I replaced the old one with the new one, as expected, same result.
Can you please check
Thanks
Hi Ismael,
Can you please update.
Thanks
Sure, no problem: http://uppersideblog.staging.wpengine.com/2014/05/ (hosted on WPengine)
Hi Ismael,
The code did change archive pages to excerpt instead of full but it doesn’t include the featured image.
How do I add that before Excerpt?Thanks
Hi Ismael,
I have in Enfold Child the following settings (Blog is a page I built with Enfold advanced tool, it has Single Author, Big Preview + Excerpt with Read More link):
Front Page Settings: Blog
And where do you want to display the Blog?: Select Page (I tried also to select Blog or another page, no help)
Blog Style: Use the advanced layout editorAdditionally, I have the code you provided me in functions.php in the child theme (this is the only code in that php file. I tried a few options as in the link you provided and it does impact layout but “multi-big” doesn’t give me the layout of just excerpt and big preview image. Is there a list of these layout options?
Is there a way for the archive layout to be based on a page I build, like a proprietary layout?Code:
add_filter(‘avf_blog_style’,’avia_change_archive_blog_layout’, 10, 2);
function avia_change_archive_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘multi-big’;
return $layout;
}Thanks again.
Yigit,
Any suggestion about this?
Thanks
Thanks.
I added code to functions.php and changed layout to multi-big.Next I created a page titled multi-big and set it to excerpt big previous image..
In page attributed I selected template to be archive.Archives pages still show the full posts one after the other. Tried with page attributes to be Default Template instead of archive but this also didn’t help.
Thanks,
Amir -
AuthorPosts