How to set up posts page using pagelines

3 posts in this topic



(Using latest pagelines framework)


I have a site that is set up to use a static page for homepage


1) under 'Dashboard > Settings > Reading' I have set posts page to 'News'



Question - I would like to change the posts page setting as above to be blank, then create a page called news and only show certain post categories, but I would like the page to look like the pagelines one (2 full posts at top etc)


which is the best way to accomplish this? Should I be looking to change/edit a setting somewhere else1 that would let me leave the posts page set to 'news' (as above) in order to keep control via pagelines admin section?


I am trying to do this as I have events created through a plugin called Events Calendar that are making the 'News' link in main navigation highlight as well as the 'Events' link.


if you look at you'll see 'News' highlighted - I've tried creating a menu (which can been seen directly below-right of the main nav.



any help/advice gratefully received as this issue is now doing my noggin in :o)


many thanks

Share this post

Link to post
Share on other sites



First,  I'd recommend keeping the current News page as your blog, serving as a cache-all for every one of your posts.


Next,  I suggest a plugin called Special Recent Posts (SRP) which allows you to mimic the look of our posts, You can also set them by category.  SRP also works as a shortcode, so you can place it on the page several times.


Now, that said, SRP doesn't do magazine mode posts on its own. To achieve this, you have to do some odd things but it works in the end.


1.  Customize the shortcode to include two posts in a selected category using the WP assigned category number. The shortcode should have images, etc.

Here's an example of the shortcode with 1 post from one category and the image sized to 150 x 150:

[srp display_thumbnail='yes' post_content_type='excerpt' post_content_length='50' post_content_length_mode='words' category_include='7' category_title='no' string_break_link='yes' thumbnail_width='150' thumbnail_height='150' post_status='publish' post_limit='1' post_title_length_mode='fulltitle' widget_title_hide='yes']

This gives you a thumbail, excerpt of 50 words; posts only from category 7 (you'll change this); hides the category title (change to Yes if you want to show); the thumbnail; limit of 1 post with full title and hides the widget title.


Of course, if you want magazine mode columns, this can be done by also implementing WP-Boxer plugin which allows you to create Content Blocks, like Boxes, This allows you to create a block set (like box sets). Then, you add the shortcode for SRP in two content blocks. The first one will have an offset of 2 posts (SRP option you can add to the shortcode).  Change the number of posts to 4 and image size to 75 x 75.


Then in the next content block, you want to repeat the category, image size and number of posts. But this time, you want to offset by 6 posts.  Now, there will be two columns each with 4 posts, looking like our magazine mode.


Well, once you set up the content blocks correctly.  They in turn have a shortcode that may be applied to the page calling the content block set.   See something similar in action at There, I have 4 SRP shortcodes each one calling 1 post from each of 4 categories, and two columns of content blocks.

Share this post

Link to post
Share on other sites

a big THANK YOU for your time in replying - very helpful & very useful.

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

    • Blog Posts No Longer Working
      By Rob Thomas+
      For some reason the main site of my multisite has lost the functionality of its blog page.
      If you click on a non-link post (i.e. not the links Pageline allows you to set up in the "Format" menu when you edit the post, or video, etc, but set as a "Standard" post), you get no content and a page that only shows a comments field (e.g. "Leave a reply"). If you go into "edit" the post, the content shows up. But not under "view post." 
      I have toggled to all non-Pagelines themes and it works fine in twenty eleven, thirteen and fourteen. It does not work in any Pagelines theme (e.g. postpins, DMS, iBlogPro, etc.). This appears to be confined to this blog. None of the other blogs on the multisite are affected. I have tested with all of the plugins turned off. No effect. 
      Debug only returns the following message: 
      Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /www/wp-includes/functions.php on line 3411
      Interestingly enough, I played around with the Permalinks. If you set them to default something interesting happens: the "Blog" item in the menu will no longer go to the "Blog" page. It will go to the "Home" page, even though the posts page is set to the "Blog" page and the Front Page is set to "Home" in Reading. Also, this one part that becomes broken when you switch back to default Permalinks works fine when you are in the visual editor but not when you log out (then you get the Blog link going to the Home page). 
      For posts with actual content, you can test those titled "Smut Capital of America" or "Some Problems with Linda Williams' "Hard-Core Eroticism" which are posts 7 and 8 down, respectively, since the others are just video or linked content. Yes, this is my porn studies class. So, for example: 
      I test my sites at the beginning of the semester and this definitely wasn't a problem before. However, that could mean this happened anytime between the end of August and now. It's too bad I didn't notice earlier. Normally, if something doesn't work, students won't say anything. So, I have to be on top of things or they use it as an excuse not to do work. It's important that I get this working as soon as possible. 
      I tired enabling Legacy Mode on the blog. This allowed the content posts to show up as showing full content on the Blog page, but then the newer posts that use the "link" and "video" functions from PL do not work. I also tried using PostLoop or PostPins, same result. I may have to put the content in myself and use the Legacy settings as a way to at least get things up quickly. Not sure what else to do. 
      This is a Multisite hosted on Flywheel. Also, I tried deleting the cache. No change. 
    • What Page Type are Posts Displayed On?
      By lbhansen
      Working with a very basic installation, my blog page has a list of posts, each with a Read More button. Clicking the button opens a page with the full post. Currently that page is a bare bones page.
      Where is the format of the post page defined? How can I modify it?
      Can I have different post (detail) pages for different post types?
    • Modify WP Loop Section to Display Posts and Pages?
      By eusebius+
      I recently added a function that allowed me to use the same tag taxonomy for both posts and pages. Thank God, it is working well.
      Now, I want to modify the standard post loop in the WP Loop section to show both of those post types whenever I navigate to the archive of one of those tags. After researching a bit, I found what I believe is the right code from the Codex and have tried to include it in section.php of my overridden section, but it doesn't seem to work. Here is what I have beginning from about Line 156:
      /* * Standard loop. */ // The Query function standard_loop() { $args = array('post_type' => array( 'post', 'page' )); $query = new WP_Query( $args ); if( $query->have_posts() ) while ( $query->have_posts() ) : the_post(); the_content(); endwhile; } function loop(){ $count = 0; global $plpg; if( have_posts() ) while ( have_posts() ) : the_post(); $count++; $format = get_post_format(); What am I doing wrong?
      Thanks in advance.
    • Show 4 Posts with Masonic
      By kellid
      Wondering how I can have only 4 posts show in the Masonic section?  I've tried going by category but it still adds an additional post.  Any help is greatly appreciated :) Thanks!
      Kelli D
    • Post unusable for me in DMS - Please Explain?
      By JawDesigns+
      Hi everyone,
      Maybe someone can help me? I just don't get posts in DMS2. Basically I see a lot of plugins for posts but I am not going to invest because I don't think I can achieve what I want to do with posts in DMS.
      This is what happens currently in DMS:
      Step 1
      1) I create a post
      2) I preview the post
      3) Add some text boxes, some media boxes etc
      4) I upload images and put in copy
      Step 2
      5) I create a new post
      6) I preview the post
      7) I unlink the template
      8) I add some more media boxes
      **Problem** - This updates my other posts!
      I don't want to add / remove media boxes etc in one post and see them disappear in others. Am I doing something wrong? How do others use posts. Surely people using DMS are changing the layout of each post or are they only just using the content post loop (wordpress) and not changing layout?
      Any help / advice would be great please.
      Thanks, James