You can add any content here! Call us now 1 -800-123-1245

0

Next event in:

  • 00 DAYS
  • 00 HR
  • 00 MIN
  • 00 SEC
+

Blog Shortcode

How to add blog shortcode to page/post

To add blog shortcode to your page simply click on blog shortcode button, that can be found integrated in default editor panel in visual mode. See image below.
Please note, that blog shortcode and page have different design.



Blog Shortcode Settings

“Category of blog” – you need to choose your blog category here. Post from this category will be displayed. If oyu don’t have any posts and categories yet, then you need to create them first, before adding blog shortcode.

“Show per page” – you can define how many post to show per page.

“Pagination” – You can choose whether to show pagination or not. If you turn off pagination, then only set amount of posts in “show per page” field will be displayed.

After you are done with settings, click “Insert” button.

Shortcode will be placed in content, inside your editor. Exactly where the syntax is placed depends on where your cursor is. So don’t forget to place cursor in correct place in your content, before adding shortcode.

Examples:

BLOG SHORTCODE WITH PAGINATION

[blog category="9" perpage="2" pagination="on" ]

Post with custom sidebar, right layout

“Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque…

img03

Post with custom sidebar, left layout

Maecenas vitae purus blandit lorem pulvinar sagittis. Ut sem libero, malesuada nec euismod non, tincidunt eu odio. Mauris bibendum leo ut nibh congue in iaculis dolor ultrices. Vestibulum ornare urna eu ligula scelerisque id semper dui dictum. Donec vulputate, nisl non fermentum tempor, sapien velit ultricies velit, ut lacinia neque magna ut felis. Fusce cursus…


BLOG SHORTCODE, SINGLE POST

[blog category="8" perpage="1" pagination="" ]

img05v

Post with right sidebar and embeded video

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla convallis egestas rhoncus. Donec facilisis fermentum sem, ac viverra ante luctus vel. Donec vel mauris quam. Aliquam pellentesque pellentesque turpis, ut bibendum sapien sollicitudin nec. Pellentesque posuere ornare placerat. Suspendisse potenti. Quisque massa tortor, tristique non tristique at, luctus sed massa…



Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /srv/users/serverpilot/apps/churchopethemoholicscom/public/wp-includes/functions.php on line 3464