Resources

Magazine

Overview

A magazine style blog section. Supports featured posts via the "sticky" WordPress function in posts.

Installation & Activation

Magazine can easily be downloaded from inside WordPress using Extend.

  1. Download the plugin from Extend. It will now appear in your Plugins tab.
  2. Click Plugins, and find your Magazine plugin (titled PageLines Section Magazine).
  3. Click Activate to be able to use the plugin inside your editor.
  4. Go to your PageLines Builder where you will now find Magazine in the Content section.

Settings

As with all section, the Magazine section includes the Standard Section Options such as padding/margin, background options and etc.

The Magazine section has very few configuration options, these are sidebar configuration and page format options via the PageLines Meta Settings.

Configuration Options

The Configuration options can be found on the Magazine section options, by clicking edit from the drop-down menu.

Select Sidebar
This allows you to select a sidebar that will appear to the right of your posts. If you create custom sidebars via a plugin, these too will appear in the select sidebar option.

Featured Posts

The Magazine section also supports featured posts, these posts will appear above all other posts. To set-up a featured post, follow the instructions below:

  1. In the WordPress Admin Dashboard navigate to the Post option in the sidebar.
  2. Click Edit/Quick Edit on the post you would like to be featured
  3. Check the option Make This Post Sticky and click Update.
  4. Refresh the page which has the Magazine section and your post will now be featured.

You're also not limited to one featured post and can set as many as you like, by following the instructions above for each post

PageLines Meta Settings

The PageLines Meta Settings for the Magazine section can be found on any page or post edit screen, but these options will only effect single posts using the Magazine section.

Magazine Page Format
This allows you to control how your Magazine single posts are formatted you can select between:

  • Full-width image
  • Aspect image
  • Square image
  • No image

Shortcode

The Magazine section can be inserted into a page, post or widget using the shortcode below. This is used as a quick reference and we recommend including a unique ID.


[pl_section section="magazine" id="Enter_Unique_Id_Here"]

Classes

We recommend using your own custom classes via the Additional Styling Classes option to customize sections. However, you can use the classes below as a quick reference or in your own styles, if you prefer to use the default class(es) instead of your own.


/* pl-sn-magazine class is assigned to the <section> element */
.pl-sn-magazine { ... }

/* mag-archives class is assigned to the <div> that wraps all posts */
.mag-archives { ... }

/* Assigned to the <article> element */
.pl-mag-post { ... }

/* Assigned to the individual posts and adds padding
 * to the bottom of each post
 */
.pl-mag-post-pad { ... }

/* Assigned to the <div> thats wraps the title and content */
.mag-info { ... }