New Landing How can we help? Themeforest Theme Support Dante Custom 404 page masonry

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #240465
    Jackcoldrick
    Member
    Post count: 84

    Hey lads,

    I wanna build my own 404 page. So I’ve grabbed the 404.php file from parent theme and placed into my Child theme. I’ve stripped back some of the functionality. I’d like to put in the code that displays the blog posts in a masonry effect (like when you use SPB to add masonry blog element), where can I find this piece of code?

    I tried copying the code in from index.php from parent theme but It keeps showing “No posts to display” error

    Thanks,
    J

    #240492
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please create a test post and insert blog element of Swift Page Builder. Now switch the editor in text mode to find the shortcode. Copy this shortcode and paste in 404.php file at like this.
    <?php echo do_shortcode('PASTE SORTCODE here'); ?>
    Thanks
    Mohammad

    #240511
    Jackcoldrick
    Member
    Post count: 84

    brilliant thanks!!

    #240514
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome and glad 🙂 to help you.
    Thanks
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register