Google ads in Wordpress - wordpress

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...

Related

WordPress theme broken when an iframe from SantuCommerce plugin opened

So I have this problem with this Santu WooCommerce plugin, so this plugin will open an iframe every time someone click the product link, this iframe will open a checkout page from santu.
So the problem I had is I think there are some conflicts on wordpress themes and santu CSS/JS. Here is the screenshot
before I click the product link from santu.
After click the add to cart
what happened after click the santu link
So what I want is to prevent the assets (CSS/JS) from Santu Site affected my website. So I already googled it and found about the iframe sandbox, but when I added the sandbox attributes, it's broken the santu as well.
So is there any solution about this?
maybe some function in WooCommerce that can fix this problem?
Thank you.
Here's the video
Of course, there is needed much more information, example (at least link to that site too) and there might be needed further (and deeper) dig into those files and etc, which can be hardly achieved with this Q/A format.
However, as an ugly alternative (as a temporary solution, if you can't fix it better) is that the add-to-cart JS action should be triggered into the new window-frame (which will be closed automatically) and thus, the initial page's design won't be messed up.
If that's possible, here is phseudo-concept:
clicking on "add-to-cart" triggers window.open( window.location.href + '&xyz')
if(window.location.href.indexOf("&xyz") > -1) then trigger add-to-cart window.
closing that window should trigger window.close();

Find Google adsense tags in a webpage

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.

Removing meta and title when sharing on facebook from a wordpress site

Hello guys, is there any way to remove the highlighted (meta, date, author and title) when being shared on Facebook? It looks awful and redundant. I tried several plugins, but it also removes the meta on the page which looks really weird and unnecessary.
I just wanted to remove this when I'm sharing it on facebook/social media.
I'm using the Twenty Seventeen Theme by the way. TIA!
Facebook uses something called the Open Graph Protocol to determine what to display when a website is shared. Basically what it is is a set of meta tags you can add to your HTML head to tell Facebook what to show. If you don't have those meta tags in place, it will try to guess, and sometimes it does a bad job, as you are seeing here.
There are a number of plugins out there that can help give you better control over what Facebook shows by setting up the right meta tags for you. Twitter has it's own set of meta tags it uses so I'd try a plugin that handles multiple services. I'd recommend trying out Yoast. It does much more than social media meta tags, but the SEO tools it gives you are pretty great too.

Is http://www.shoutmeloud.com/videos a separate website?

I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.

Google custom search results page don't show any results

I'm trying to use the google custom search in a wordpress website (but without any plugin).
I've used the code google provided (the search box code and the search results page code) and the results page it's returning empty...
However the auto-complete it's working:
This is the page that should show the results: http://www.guiasdeviagens.com/pesquisa/
Anyone could help me please? I've been trying for some days and can't fix the problem. :(
Thanks in advance.
By some chance did you turn on search engine blocking? Go to the admin dashboard and look at the top of the page for "Search Engines Blocked". If it's there, click on it and toggle the Site Visibility setting. Remember that once you are visible you still want to submit your URL to google. It also helps to have a sitemap.xml file to help the googlebot find all of your pages.

Resources