ADDITIONAL: LOGIC SETTING WIDGET

/
0 Comments
How to Avoid Due Disable AdSense Blog Search Brain nasty

    [SHARE] How to Avoid Due Disable AdSense Blog Search Brain nasty

   hai colleagues Ads-ID. Previously I'm sorry if this thread I repost or one of the rooms.

    As the publisher of Indonesia, I was quite concerned to read some cases disable the blog because there are nosy to make searching KEYWORD2 that violate Google AdSense TOS (GA), whereas the blog content 100% clean and fit TOS GA.

    This time, I will try to provide a solution to avoid the occurrence of unwanted by anyone. Although the chances of an appeal to the GA is still there, but it prevented me to taste much better than cure.

    One way / solution avoids disabling GA blog is DISPLAY ADVERTISING PAGE ONLY SINGLE (post)!

    Yup .. so ads will not appear on other pages, including pages search (search), so the blog will not experience brain searches nasty prank.

    So how?

    WORDPRESS

    For the blog platform WordPress (WP), there are at least two ways: using the plugin widget logic and command PHP code.

    1. Widget Logic plugin

    This plugin actually serves to adjust the widget display, ordered widget to appear on a particular page.
    Code:

    h ** p: //wordpress.org/extend/plugins/widget-logic/

    If we intend to install the ad code GA in the sidebar through the widget, then with this plugin you can manage the ads only appear on a page single / posts with the command

    PHP Code:
    is_single ()
    More details please see the picture below:



    2. Using PHP command

    PHP code can be applied when we want to display the ads in header, footer or other space, and want ads to appear only on single / posting.

    Its application is as follows:

    PHP Code:
    <? php if (is_single ()) {?>
    ADVERTISING CODE
    <? php}?>
    BLOGGER (BLOGSPOT)

    Meanwhile, the blog platform with blogger / blogspot, then we simply add a command like this:
    HTML Code:

    <b: if cond = 'data: the blog.pageType == & quot; item & quot;'>
    ADVERTISING CODE
    </ b: if>

    Application of gadgets / widgets:

    For example, we put the ad code to the HTML gadget GA through Title: Sponsored Links.

    <b: widget id = 'HTML1' locked = 'false' title = 'Sponsored Links' type = 'HTML'>
    <b: includable id = 'main'>
    <b: if cond = 'data: the blog.pageType == & quot; item & quot;'>
    <! - Only display the title if it's a non-empty ->
    <b: if cond = 'data: the title! =' '">
    <h2 class = 'title'> <data: title /> </ h2>
    </ b: if>
    <div class = 'widget-content ">
    <data: content />
    </ div>
    <b: include name = 'quickedit' />
    </ b: if>
    </ b: includable>
    </ b: widget>

    Thus, ad will appear only on post pages.

    Additional info:
    Code:

    h ** p: //ariflaw.blogspot.com/2013/03/cara-membuat-widget-only-appear-di.html

    GA account securing additional tips:

        Make sure we play by TOS
        Take advantage of the authorization feature that allows websites / domains that we want to minimize from prankster another person, for example, to prevent others put our ad code on sites with content violates the TOS.
        Do not tell us the website address to anyone through any media, unless we are ready with all the risks that may occur.
        And many more, please added and discussed together through this thread.



    So little to share about how to avoid disable blog GA by ensuring ads only appear on a single page / post. If you have questions let's discuss together, sorry if there are errors or deficiencies, and may be useful.



    Perhaps there who need information on setting the widget logic. Here are some code setting via the setting Widget Widget Logic:

    is = only / only
    ! is = except / unless
    || = And / and

    example:

    is_home () = widget only perform at home
    ! is_home () = widget to appear on all pages, except at home
    is_home () || is_single () = widget to appear at home and single / post
    is_single () || is_search () = widget to appear on single / post and search

    For other orders, please you be creative and experiment with reference to h ** p: //codex.wordpress.org/Conditional_Tags

    P.S. Apologies if I get this response is slow or a little late because I can not always online here. If there is something wrong please justified. Ask the other counterparts participated if anyone asks. thanks.
Google Terjemahan untuk Bisnis:Perangkat PenerjemahPenerjemah Situs WebPeluang Pasar Global



You may also like

No comments:

Powered by Blogger.