• Resolved steve_

    (@steve_)


    Hi Ive had this issue with my portfolio pages for some time now. A script is showing at the bottom of each of my portfolio pages. This script does not appear anywhere else on my site, only on portfolio pages.

    The script itself is kind of hidden away as the text is the same color as the background. If you scroll to the bottom of the page Ive provided and hit CRTL+A you’ll see the script at the bottom. I have no idea how to get rid of it. Any help would be greatly appreciated.

    https://videobase.ie/portfolio-view/startup-van-promo/

    Here is the code that appears on my portfolio pages:

    //mod content function hatom_mod_post_content ($content) { if ( in_the_loop() && !is_page() ) { $content = ''.$content.''; } return $content; } add_filter( 'the_content', 'hatom_mod_post_content'); //add hatom data function add_mod_hatom_data($content) { $t = get_the_modified_time('F jS, Y'); $author = get_the_author(); $title = get_the_title(); if(is_single()) { $content .= '
    '.$title.' was last modified: '.$t.' by '.$author.'
    '; } return $content; } add_filter('the_content', 'add_mod_hatom_data');

    Thanks for your time

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code appearing on the bottom of my pages’ is closed to new replies.