Home Forums Basel – Premium Template Modify 404 page

This topic contains 8 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 1 year, 3 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #8396


    I edited the file 404.php in my child theme.
    I want add some products to the 404 page, below the search box. For exemple the “Featured Products”
    It’s possible? Which code can I use it?

    • This topic was modified 1 year, 3 months ago by  Santi.


    Thank you for the question.

    Yes, you are able to do this on the 404 page. We suggest you to do the following trick:

    1. Create an HTML Block with products in admin panel -> HTML Blocks.

    2. Copy its shortcode and place the following code to the 404.php file

    <?php echo do_shortcode('[html_block id="111"]'); ?>

    Hope this will help you.




    Great trick!
    I tried but I can’t add any VComposer element. It seems that VComposer doesn’t work with html blocks.
    It’s strange because I created blocks with VComposer before.
    You know what happen?

    • This reply was modified 1 year, 3 months ago by  Santi.

    You can enable VComposer for HTML Blocks in Visual Composer -> Role manager -> Post types. Choose custom and select all types.



    I had enable for HTML Blocks but I can’t add any element.
    I tried to add a template, but when i save the changes, all is deleted.
    Before, I created another HTML blocks with VComposer without problems.
    I don’t understand it.



    Finally, I can create the block in FrontEnd Editor Mode.
    Something doesn’t work right with BackEnd editor Mode, but I don’t know what is.


    Ok, could you please send us your admin access so we could check this?




    Ok, thanks.

    Private Content Hidden

    Strange, but your website is not loading for us. Please, check this

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

You must be logged in to reply to this topic.