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
    Posts
  • #8396

    Santi
    Customer

    Hi,
    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?
    Thanks

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

    Hello,

    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.

    Regards

    #8478

    Santi
    Customer

    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.
    #8481

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

    #8487

    Santi
    Customer

    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.

    #8488

    Santi
    Customer

    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.

    #8492

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

    Regards

    #8493

    Santi
    Customer

    Ok, thanks.

    Private Content Hidden
    #8494

    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.