How To Add an Adroll Ads script to Montezuma Theme
Hello I am using Montezuma Theme on my blog, and i would like to add an Adroll Ads script at the bottom of all
my Blog Posts, how do i do that? Which section should i go and add the script? |
I'd try adding them to the footer.php but you are going to have to experiment.
|
I am even having a bigger problem, any time i making any changes in my montezuma blog i keep getting this error: "Nothing Found Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post."
Is it a Montezuma error or a wordpress error? |
Are you using a multi language plugin?
a google earch using 'wordpress Nothing Found Apologies, but no results were found for the requested archive' comes up with some hits. |
Quote:
the bottom of the page. How do it pit it under the bottom of each blog post just like i see on most blogs? Is it in the page.php i should put the code? |
Ohh, sorry I missed the part where you wanted it on the bottom of each Post. To do that put it near the bottom of MTO->Sub Templates->postformat.php just before the last </div>
|
I added it before the last </div> in postformat.php however it is showing on the homepage alone
and not the other individual post pages . Also the homepage has a list of the 10 latest blog post on the homepage but the ad is showing under the first post. Maybe i will have to show it only on the other pages and not the homepage. But How? |
So do you want it to show at the bottom of each post on a multi post page and/or on single post pages?
|
I added it in the footer.php sub menu at the top before anything else and this is the end result:
http://hopetonwilson.com I will just leave it at that. If you click on any blog post you will see it is below the comments section. I wanted it above the comments section, but i will just leave it at that. |
Ok, so you want it on the single post page above the comments - easy
edit MTO->Main templates->Single.php and find the line: HTML Code:
<?php comments_template( '', true ); ?> |
Thanks it worked like a charm!
|
Hello i also have another question, on the homepage of montezuma theme how does it select the image to show on there? In a blog post i have 3 images but the home page is showing a banner ad that i do not want to be shown on the front page. How do i correct that?
|
Sorry, i’ve Been out of town. I’ll take a look at this late tonight (EDT) or tomorrow
|
Quote:
If the post has a featured image, it uses that otherwise - I beleive - it takes the first image in the post Now that is assuming that you don't have a plugin that is causing another action to happen or haven't madre a change to the 'postformat.php' sub template |
1 Attachment(s)
Strangely i deleted the image from the blog post and it is still showing up on my homepage
which list the first 10 blog post. if you look at the fist blog post here: hopetonwilson.com you will see the image it is showing is not in my blog post again because i had deleted it. I do not understand why it is still showing on my homepage? I thought it would be pulling the main pic which is the first one in the blog post. See image on attached document. |
debugging 101: disable all plugins and see what it looks like.
|
All times are GMT -6. The time now is 07:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.