Jump to content
hugo2808

Change Category Posts Visualisation

Recommended Posts

hugo2808

Hi!

I use a plugin called Special Recent Posts to display my posts.

I created static pages and I display the posts with a shortcode [srp ... "category=7" ...] to have the result:

http://www.bienal-stp.org/noticias/

 

I have an archive menu by month for the category and when I click on one of the months I get all posts for the chosen month but with the default layout, and not the one I have with srp shortcode:

http://www.bienal-stp.org/2013/01/?cat=7

 

How can I alter this, having the posts list selected from archive widget link with srp layout?

 

Thanks

 

 

Share this post


Link to post
Share on other sites
Rob

Hi Hugo,

 

You're viewing a static page (where you have Special Recent Posts), but also viewing a category page, where you do not have Special Recent Posts.

 

To make a category page with SRP, you need to create one as a static page, and include the shortcode there.

 

Another way might be to use the Content Box (download, free, from the Store), placed in the Content Area for the Category template and place the shortcode for SRP in there. I suspect though, that then you'd have both the postloop and SRP.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
hugo2808

Hi Rob,

Thanks for reply!

My problem is when I click in a month link from the archive widget I go straigth to default category page, it shows me all posts from the clicked month.

I would like to show this posts with SRP to seem like all site, and not have this category page different.

Thanks

Share this post


Link to post
Share on other sites
Rob

Hi, remember, you can add links in the sidebar by creating a unique menu and applying it using the Custom Menu option in Dashboard > Appearance > Widgets.

 

This is added work, but it will do the trick.

 

Unfortunately, SRP (a plugin I use and like very much) doesn't replace the post loop, and won't automatically paginate. Since it doesn't, using static pages is the best way, and on those pages, using a custom menu linking not to the archive, but to the pages would work best.

 

You can actually automate part of it by letting WP add new pages within the category to the menu automatically. Those will be static pages, not archives.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • stijnxo
      By stijnxo+
      Is it possible to get the children of the parent page in Powerloop using Custom Taxonomy and Custom term?
    • jeomiland
      By jeomiland+
      Hi
      Have researched this in the forum and find a couple ancient posts from 2011 and 2014 apparently for pre-DMS2?
      Am using latest Wordpress  4.8.4 running DMS Version: 2.2.4 theme
      When in the editor (Chrome), the page looks fine, but when logged out and viewing individual posts, they show up twice - one in the column I have setup and a second time at bottom of content page but above footer???
      Each page has 2 columns, left column is biggest and contains wploop/content and comments. wpcontent loop is displaying a second time below both columns but ONLY when not in editor. While in editor, second wp content block does not appear???
      https://cassclayton.com/el-chapultapec/  is a post. You can get to it from NEWS | News/Blog dropdown menu, then choosing a post.
      The 2011, 2014 posts talk about going into Settings and adjusting the excerpts vs full settings, but can't find anywhere to do this in DMS???
      Not sure if this is a new issue or old one i just now noticed.

      Best regards,
      John-eriK
       
    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • TallTree
      By TallTree+
      Hi,
      I am trying to remove the sidebar areas from my child theme (pagelines.com) from the post pages on a site:
      https://staging4.talltreemusicfestival.com/2017/grand-analog/
      The content is all the way to the left and very small, and the two sidebar areas are taking up a lot of space.
      What I'm after is content to the left, taking up most of the space, and then a small sidebar width on the right for widgets.
      I've tried selecting 'read width content' and 'full width content' in the edit screen for the WP content section, but it doesn't change.  If I try to move the sidebars (1 or 2) to the left, it doesn't change.
      If I select the pagelines framework theme (not child), the two sidebars go away when not selecting them in the edit screen..
      Can someone please tell me what I'm doing wrong?
      Thanks in advance.
      -Matt
       
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
×