How can I add another (text) section to the home page?

All forums All forums Themeforest – WordPress PandoraBox WordPress Questions How can I add another (text) section to the home page?

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  iltaen 1 year, 1 month ago.

  • Creator
    Topic
  • #252

    Loui Rrokk
    Participant

    Hi,

    Great theme… I’d like to add a plain text area or two on the homepage. How can I do that?

    Thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #253

    iltaen
    Keymaster

    Hi,

    Firstly, create new section with “PB Blocks” plugin.

    Then for change order of sections or add new, open the page-home.php file:

    
    ...
    <?php get_template_part('section', 'skills'); ?>
    
    <?php get_template_part('section', 'team'); ?>
    
    <?php get_template_part('section', 'price'); ?>
    ...
    <?php echo do_shortcode('[pb_block]'); ?>
    

    <?php echo do_shortcode('[pb_block ]'); ?> – it’s all your custom blocks

    <?php echo do_shortcode('[pb_block id="***"]'); ?> it’s one custom block. You can get “id” of block from PB_Block edit page.

    Thanks,
    iltaen

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.