Home Forums Basel support forum Modify 404 page

Modify 404 page

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

    Santi
    Participant

    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

    #8413

    Artem Temos
    Keymaster
    Xtemos team

    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
    Participant

    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?

    #8481

    Artem Temos
    Keymaster
    Xtemos team

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

    #8487

    Santi
    Participant

    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
    Participant

    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

    Artem Temos
    Keymaster
    Xtemos team

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

    Regards

    #8493

    Santi
    Participant

    Ok, thanks.

    #8494

    Artem Temos
    Keymaster
    Xtemos team

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

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