Placement of a Banner under my GRIDDED Thumbnail Images Placement of a Banner under my GRIDDED Thumbnail Images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Placement of a Banner under my GRIDDED Thumbnail Images

Started by davidvoy, August 05, 2017, 02:47:44 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

davidvoy

I am trying to edit the Theme and even tried the include PHP files,  but can not find where I can place code to show a banner right BELOW the Grided Thumbnail Images....
Here is a link to mu EVENT Photo site - http://voyphotos.com/thumbnails.php?album=13   
can someone point me to where i can edit and put in a banner directly under the Thumbnails.
or even Just UNDER the Navigation Bar where you  go to Next/Previous Photos?

ron4mac

The best way to do that is to copy the $template_thumbnail_view from include/themes.inc.php into your theme.php file and make changes there.

I've attached a theme.php(.txt) file from your theme (mnd-cpg12) as an example of how it could be done.

davidvoy

Yes, but im looking for the exact placement to put a Banner AD  right under the NEXT/PREVIOUS navigation bar which is under the GRID Thumbnails.

ron4mac

Quote from: davidvoy on August 05, 2017, 09:27:03 AM
Yes, but im looking for the exact placement to put a Banner AD  right under the NEXT/PREVIOUS navigation bar which is under the GRID Thumbnails.
You would need to copy the theme_display_thumbnails function from include/themes.inc.php into your theme.php file and make changes there as needed.
Alternatively, a plugin would be able to add extra content there (as your social-sharing plugin is doing).

phill104

Quote from: ron4mac on August 05, 2017, 02:48:06 PM
You would need to copy the theme_display_thumbnails function from include/themes.inc.php

That should also be available in the sample theme which is probably the best place to cut it from.
It is a mistake to think you can solve any major problems just with potatoes.