Customizing the 404.php page - WP Themes - Best Professional WordPress Themes and Templates
Get All Our 116 Premium Themes Worth $6,844 At Just $99!

Customizing the 404.php page

Home Forums VW Theme VW CHARITY NGO PRO THEME Customizing the 404.php page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #44657
    Blandine Sillard
    Participant

    Hi Everyone 🙂

    This is probably a FAQ but here it is anyways. I’d like to modify the image that shows on the 404.php page (the code of which is at https://paste2.org/hGWnDFAY). It shows the image shown by default is record-bg.png:

    get_theme_mod(‘vw_charity_pro_inner_banner’,get_template_directory_uri().’/assets/images/record-bg.png’))

    and that it can be changed with vw_charity_pro_inner_banner. What is less obvious and the reason for my question is: where exactly this setting can be modified ?

    Thanks in advance for your help and for a great looking theme 🙂

    #44659
    Blandine Sillard
    Participant

    Looking at the source of the wp-admin/customize.php?theme=vw-charity-pro page does not show the vw_charity_pro_inner_banner anywhere which suggests there is no way to modify the value from the web interface. Is this confirmed or am I missing something ?

    #44667
    Blandine Sillard
    Participant

    It turns out to be somewhat of a challenge that involves a) adding a custom CSS to override the banner, b) providing translations. The translations require to produce a .mo file but the .pot file is invalid and cannot be loaded as is. It needs to be cleaned up first. For instance some strings end with “, $count which indicates the parser looking for translatable strings did not do the right job.

    #44699
    developer vwtheme
    Participant

    Hi,

    Yes, this image added for the title-banner plugin, you can change the image from the banner setting.

    The customize.php file is used for settings set or gets data from the database it does not display any data that’s why not used vw_charity_pro_inner_banner id.

    Many Thanks

    #44914
    Blandine Sillard
    Participant

    > The customize.php file is used for settings set or gets data from the database it does not display any data that’s why not used vw_charity_pro_inner_banner id.

    I’m sorry but I do not understand this sentence ?

    Thanks for taking the time to discuss this with me 🙂

    #44937
    developer vwtheme
    Participant

    Hi,

    Above solution is your second query, now we do not understand what exact issue are you facing can you send us your all query again we will provide you a solution for that.

    Many Thanks

    #45485
    Blandine Sillard
    Participant

    > can you send us your all query again we will provide you a solution for that.

    ’d like to modify the image that shows on the 404.php page (the code of which is at https://paste2.org/hGWnDFAY). It shows the image shown by default is record-bg.png:

    get_theme_mod(‘vw_charity_pro_inner_banner’,get_template_directory_uri().’/assets/images/record-bg.png’))

    and that it can be changed with vw_charity_pro_inner_banner. Where exactly can this setting be modified ?

    #45643
    developer vwtheme
    Participant

    Hi,

    You can add the image in the theme folder >> assets >> images folder with the same name of the image file that is record-bg.png

    Many Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.