Jump to content
lazlo

How to set up posts page using pagelines

Recommended Posts

lazlo    1
lazlo

Hi,

 

(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 http://www.theimpclub.com/events 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
Rob    547
Rob

Hi,

 

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 www.epicurus.com/magazine. There, I have 4 SRP shortcodes each one calling 1 post from each of 4 categories, and two columns of content blocks.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
lazlo    1
lazlo

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

    • 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.
    • Queue-it
      By Queue-it+
      Hi,
      Is is possible to have different layouts for different Post categories? We have Blog posts, News posts and Case studies that all are posts, but is it possible to differentiate their layouts?
      So far when I change a post layout it affects all Post type pages. Could it be done somehow with creating a separate template? 
      Examples below
      https://queue-it.com/news/
      https://queue-it.com/blog/
       
    • Timothy
      By Timothy+
      I'm trying to find a way to display the full content of my posts on my posts page rather than the post excerpt. 
      I've tried using various plugins to create a custom excerpt with no success, so I'm guessing I'll need to make the change to the theme files. That being said I'm not able to find where I would make that change. In the past I've been able to replace <?php the_excerpt(); ?> with <?php the_content(); ?>, but I'm unable to locate this in the framework theme? Am I missing something here?
    • Skip
      By Skip+
      Hello
      Anyone know why Posts will not appear on a website?
      We can see them all in the admin console but the website with the page for the posts - https://www.trueblueauctions.com/articles/ shows the titles but when you click on an article they do not appear.  Example: https://www.trueblueauctions.com/phone-call-estate/  Notice the article content is not present.  
      It is this way for all posts on our website.
      Anyone have any ideas of what could be wrong and how to fix it?
      Thank you for your thoughtful consideration.
      Wishing you all the best of Providence.
      Skip
×