WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

[Prayer Pro Theme] Error on header.php on line 127

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34957
    Diogo
    Participant

    Hi.

    After changing the images, the following errors are being thrown in the site header:

    /home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption1″/>/home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption2″/>/home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption3″/>

    Could you please, show me the way to fix this error?

    Thanks, regards.

    Diogo.

    #34966
    Grace Support
    Keymaster

    Hi,

    To solve this issue
    Go to the Appearance -> Theme Editor -> header.php

    Find the below code at line no. 127

    <img src=”<?php echo esc_url($sv[‘image_src’]); ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php echo ‘#slidecaption’.$n ; ?>”/>

    Change it with

    <img src=”<?php echo esc_url($sv[‘image_src’]); ?>”/>

    Please do this changes and let me know if it works.

    Regards
    Grace Themes

    #34970
    Diogo
    Participant

    Thanks for the tip!

    With the information sent it worked partially, as the texts were not displayed. So I kept the title and img tags and worked perfectly.

    ” title=”<?php echo ‘#slidecaption’.$n ; ?>”/>

    The error was in the “alt” tag.

    Thanks a lot for the help! God bless!

    #34987
    Grace Support
    Keymaster

    You are most welcome.!!

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