Tagged: x
-
AuthorPosts
-
March 31, 2016 at 3:42 pm #861427
Hi,
Background info:
Icon Stack
LocalhostMy site has a need for two separate “posts” pages. I understand WordPress is not designed for this, but the solution I have researched is using categories to separate posts.
For example, one category could be “wordpress tips” and the other category could be “SEO tips”. I’ve assigned posts to these categories, and gone to appearance=>menus and pulled in these categories into my menu. This way, only posts that have the category “wordpress tips” are displayed when that menu item is clicked. I still only have one posts page, but this gives the illusion that I have two, and I can separate the content.
So far so good, except for the fact that images within the posts are not being displayed on the landing page for this category. Of course, if I click through to the individual posts, the images are there.
I’ve gone through the “customize” option on X and tried several layout options but am not having any luck.Any help on why this is happening would be much appreciated.
April 1, 2016 at 12:24 am #862057Hi there,
Thanks for writing in! You can use the Recent Posts element within a page and set categories for that. See – http://prntscr.com/amnwmi
Hope this helps.
Cheers!
April 1, 2016 at 12:31 am #862071Hi there,
Thanks for posting in.
Images within posts aren’t displayable in category pages. They are simply image within content, and WordPress will only display excerpts.
Content are only viewable in single post or if Full Post Content on Index is toggled on at Admin > Appearance > Customizer > Blog.
But, the featured image should be displayable. Please set featured images to your posts instead of just within the content.
Thanks!
April 4, 2016 at 8:20 pm #866887Thanks for the response guys, I abandoned this due to the complexity involved not worth the limited times I would want to use this. If anyone else wants to chime in on a solution, I’m all ears.
April 5, 2016 at 5:28 am #867415You’re welcome!
Always,
XApril 6, 2016 at 8:12 pm #870334Actually guys, this was doable.
I found the solution
Find file
/x/framework/views/global/_content-the-excerpt.php
and change line 17:
<?php the_excerpt(); ?>
to:
<?php the_content(); ?>
It’s totally possible to parse and show the content and not an excerpt
April 7, 2016 at 1:52 am #870660Hi there,
Thanks for sharing with us.
Cheers!
-
AuthorPosts