i have placed the Google ad sense code on website.. it shows the block but Google ad is not visible.
Looking forward for your valuable advise and experience.
Same issue here I have found what is causing this issue. When I insert the ad code inside the wordpress widgets, the wordpress is automatically removing the comments line of adsense > for eg: this is name of the ad unit given by adsense in the form of comment. But when I checked the webpage source code, it is automatically removing this line and so ads are not appearing and empty blocks appear. Haven't found a solution yet, will post it if I find it. I came here searching for one and saw your post.
Related
I am trying to manage google Adsense using the official plugin. the plugin rejects adding any extra ads to the page since it thinks there are more than three ads in the page. Actually, I am having only two ads there one in the header which appears on all pages and one on a sidebar widget.
Is there any way to find if there really 3 tags?
the issue is on product pages like this http://safetyandsecuritycameras.com/wp-admin/options-general.php
the home page http://safetyandsecuritycameras.com/ is ok
You could try out WP QUADS a WordPress plugin for AdSense integration. It has a function to count and highlight the ads on a page to make sure that no more than the allowed ads are used.
It also allows you to limit the ads on your WordPress site to a maximum:
Details of the plugin can be found on http://wpquads.com/
You find the free version of the plugin on https://wordpress.org/plugins/quick-adsense-reloaded/
You can use the default wordpress text widget for adsense. You can try that.
Google AdSense plugin for WordPress (previously known as the Google Publisher Plugin) is showing me the placement for the "after the last paragraph" option inside the last comment on my blog.
Is there any way to tell the plugin where is the correct last paragraph <p> on the blog content?
I've tried Manually insert placement code for the AdSense Plugin for WordPress, but the plugin is not showing me the placement marker in the location where I added the code.
I know how to insert AdSense code manually, but I want to use the plugin in order to automatically add ad blocks with the same structure on every post.
I've inherited a wordpress site built on the Roots theme. It had two Google Analytics UA tracking snippets that appear after the closing footer tag in the homepage source.
I found and deleted one of the snippets but cannot find the origin of the remaining snippet.
Any clues from where the other UA tracking snippet is being pulled from?
My site's link is www.mcminnlaw.com.
I'm not sure which one you removed but in lib/scripts.php there is a function defined that prints the tracking block of code named roots_google_analytics. My guess would be whoever built this site just included a call to this function somewhere else. Deleting this code block should cause an undefined function error that will tell you where it is being called. This is where I would start.
I made a new theme in Wordpress before a year. And now i am updating as per requirement.
I have used Navayan Subscribe in this system. And i get Google ads in that place(frontend) and other place too(middle of the page). I don't know where are they coming from. As i have never used Google ads in clients website. You can check this page on the right hand side.
Thanks in advance.
It looks to me that the ads are coming from the widgets.
Go to Appearance > Widgets and check there.
If they are not there, check the code inside sidebar.php file by going to Appearance > Editor and open Sidebar.
You can also disable your plugins to see if some plugin is a cause the ads.
If still no luck then check other php pages for malicius code in the theme by looking for encrypted php code that looks like this:
eval(gzinflate(base64_decode('80jNycl...
My main idea is that when i do a google search on my company's info, it keeps showing the latest post made. I would like to make the info the same everytime i do a google search. That will definitely show a good image of my company. I am using wordpress to run my company's website. I need some guidance on this... Thanks... Please pardon me if this is a stupid question. If there is other ways of doing this, instead of using wordpress, do tell me... Will be very happy to hear some suggestions...
This is a great question, and I think that there are a couple ways you could do it.
The first way that came to mind is to use your site's meta description on your home page. Your meta description is the 156 characters that appear in black letters underneath your site title in the search results.
If you want your meta description to be static and unchanging, just like LinkedIn, you can set your meta description without any coding knowledge using Yoast's Wordpress SEO Plugin. After you install it, edit your home page in Wordpress Admin and set the meta description to be your desired text. You can set the meta description for every page on your site, and each one will display the corresponding description in the search results.
If you want your meta description to be the latest post, you will either need to change the meta description for the homepage manually every time you write a new post, or you could write up some code to automatically generate the meta description from the first 156 characters of your latest blog post.
But, there is a second method that might work better. For an example site, I did a Google search for CSSTricks.com. Notice that it appears that Google is automatically pulling in their latest post without them having to do any hoopla with the meta description.
So, I went to CSSTricks using Google Chrome and did a right-click -> Inspect Element to view the source of the web page, to see how they were doing it. (You may need to open the below image in a new tab or save it to your computer to be able to read the code, because it is so small)
They do not have any meta description on their site, but they are using the HTML5 article tag. It appears that Google is pulling in the first p tag nested inside the article tag, and then displaying that as the black text in place of the meta description. So theoretically, if this is indeed how it works, what you need to do is write the markup of your home page so that it displays the post content using the article tag with a nested p tag, just as they have done.
Hope this helps!