• I’ve added the WP Catalogue plugin to my WordPress site and it’s working smoothly.

    Only issue is that I want to have a different banner image on each of the pages that are generated by WP Catalogue. All pages with WP Catalogue would have the same image.

    Currently, for other pages, the banner image is specified in a header.php file, like this:

    elseif (is_page(‘[page id number]’) )
    {
    echo “<img src='[image source]’ />”;
    }

    Since I’ll be adding a bunch of entries to the WP Catalogue, I don’t want to have to go in and update the header.php file with another image source statement, each time.

    The best way I can think to do this is to tell WordPress “If a page has the WP Catalogue plugin present, use this image.” But I’m not sure what that PHP statement would look like. Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter AR_Bigelow

    (@ar_bigelow)

    I realize this question should probably be in the hacks section. Not sure how to move it.

    Thread Starter AR_Bigelow

    (@ar_bigelow)

    Solved it, although in a roundabout way. My solution was to create a new header.php file, which specified which image to use. Then I linked the header.php to the plugin via the WP Catalouge CSS (had to edit several files).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Catalogue} Specify a banner image, if a page has a plugin’ is closed to new replies.