4 posts in this topic
Custom design for different category pages
I am using DMS 2 theme and I want to create a 2 different links on my website; each link should take you to a different blog post category. Although the process is easy, yet I can not figure out how to give each category page a unique design of its own; Any change I make on any page is applied to the other (I'm aware of the universal elements like the header and footer and I a am not talking about these.)
Since I am new to wordpress in general, I am not sure if my description is sufficient; apologies if it is not.
Max posts in postloop for categories
Having difficulty editing something on a site I'm working on. In previous Pagelines versions, clicking a post category allowed one to see all of the posts in that category. In the postloop for DMS, it seems I can only show max ten. I'd like for any category (except the main blog page, which should remain in magazine mode with 10 max) to show its maximum content - any explanation on how I can do that?
Thanks very much.
Setting Post Categories for Flexible Posts
I'm new to WHP6, just got. Attempting to play with it and ran through the docs and all the guides I could find and hoping could get your help -
In using the Flexible Posts, section, I tried to split it into 2 side by side, in so doing I wanted to restrict left side to posts from Category X and right side to posts from Category Y. The edit section lists 'Post Category' that made me think I could do so. The only options I get though are category, post_tag, post_format .. I can't seem to set the specific category here. Setting it to 'category' doesnt seem to accomplish anything with the posts that are selected / displayed.
Can you advise as to how this is best accomplished? Or if there are documentation support for the sepcific sections that may indicate?
Thanks for your help!
Categories not linking to proper display of posts in that category
- I've got jetpack installed and am using the "categories" widget in a sidebar. It displays perfectly, showing each category and the number of posts in that category in parenthesis
- permalinks is set to "post name"
- when you click any of the categories, you always end up at the same generic page, not a dynamic list of the posts in that category
Attempted & Unsuccessful fixes
- disabled all plugins; result: instead of linking to a page, just went to 404
- switched themes to twenty-fourteen; result: categories still linked to 404. Then when I switched back to dms, my home page was wiped out, all my settings, font changes, etc, were completely wiped. I put in a request from my host to restore from backup because the entire site was essentially lost (side-note: this also happens whenever dms updates, why?? It's SUPER inconvenient and frustrating)
- changed perma links to default, no change
Make PostNav category-specific?
Dear Pagelines team, leafing through the Forums, I found an old solution to a problem I am facing: How to make the PostNav section include posts from the same category only? This is the suggested fix:
BEST ANSWER The Farside, 14 August 2012 - 04:06 AM
I seem to have figured it out, but if this is wrong or if there is another way, let me know.
Here is what I've done in the sections directory for postnav section.php
<span class="previous"><?php previous_post_link('%link', $link='%title', $in_same_cat = true); ?></span>
<span class="next"><?php next_post_link('%link', $link='%title', $in_same_cat = true); ?></span>
I found the postnav section.php (wp-content/themes/dms/dms/sections/navbar). Do I just add the above code? And would it still be valid in DMS2 (it's ancient - from 2012!) I am hesitant as I am always afraid to break things when dealing with PHP. Or is there another way, a plugin or child theme that lets me add this in a safer way (and one that may withstand upgrades)?
Thank you for your help and advice. It is always a pleasure working with Pagelines, every day! I should say that more often, but of course yet again it is only when there is a problem that I get in touch...
Yours faithfully, Jan.