‘Block Shortcode’ Creation

The instruction on creation the 'Block shortcode' for blog and portfolio

Within Ronneby theme, you may add the content to be displayed below each single post and portfolio item.

You may enable it in Theme options  Blog options and Portfolio options correspondingly.

In this post, you may find the short instruction on creating the shortcode for these sections.

  • Create a new page and add the content you’d like to see below each single post and portfolio item.
  • Switch to ‘Classic mode’ (previously you’ve worked in backend editor) and copy the shortcode of the content you’ve added  (without
    and
     shortcode).

See the screenshot as an example below:

  • Enter the copied shortcode into Theme options Blog options Block shortcode or Theme options Portfolio options Block shortcode. Please note, Display block under single item should be set to Enable in this case in Theme options Blog options and Theme options Portfolio options correspondingly.
  • As the result, you’ll get the content displayed below each single item. Check the example of related posts shortcode following this link.

Regards, DFD Support Team

div#stuning-header .dfd-stuning-header-bg-container {background-image: url(https://rnbtheme.com/documentation/wp-content/uploads/2017/01/hands1.jpg);background-size: cover;background-position: center center;background-attachment: scroll;background-repeat: no-repeat;}#stuning-header div.page-title-inner {min-height: 550px;}#main-content .dfd-content-wrap {margin: 0px;} #main-content .dfd-content-wrap > article {padding: 0px;}@media only screen and (min-width: 1101px) {#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars {padding: 0 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child {border-top: 0px solid transparent; border-bottom: 0px solid transparent;}#layout.dfd-portfolio-loop > .row.full-width #right-sidebar,#layout.dfd-gallery-loop > .row.full-width #right-sidebar {padding-top: 0px;padding-bottom: 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars .sort-panel,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars .sort-panel {margin-left: -0px;margin-right: -0px;}}#layout .dfd-content-wrap.layout-side-image,#layout > .row.full-width .dfd-content-wrap.layout-side-image {margin-left: 0;margin-right: 0;}