Support » Theme: evolve » [Theme: EvoLve] Update 208 again cut out ads

  • Same release on the website no cut out.
    Anyway edit functios.php and cut out these lines as usual…

    `$input[‘evl_space_1’] = wp_filter_post_kses( $input[‘evl_space_1’] );

    $input[‘evl_space_2’] = wp_filter_post_kses( $input[‘evl_space_2’] );

    $input[‘evl_space_3’] = wp_filter_post_kses( $input[‘evl_space_3’] );

    $input[‘evl_space_4’] = wp_filter_post_kses( $input[‘evl_space_4’] );

    $input[‘evl_space_5’] = wp_filter_post_kses( $input[‘evl_space_5’] );

    $input[‘evl_space_6’] = wp_filter_post_kses( $input[‘evl_space_6’] );

    $input[‘evl_space_7’] = wp_filter_post_kses( $input[‘evl_space_7’] );

    $input[‘evl_space_8’] = wp_filter_post_kses( $input[‘evl_space_8’] );

    $input[‘evl_space_9’] = wp_filter_post_kses( $input[‘evl_space_9’] );

    If you want to change the footer copyright it is on the same file, bottom.
    rename evolve_copy() in evolve_copy1()
    
    and make what you want, next is a basic example.
    careful where you insert the function, it must go before the comment shown.....

    function evolve_copy1() {
    $credits = ‘<p id=”copyright” style=”margin-top:20px;”>
    <span class=”credits”>(c) Copyright 2010-2012 </span>
    <a href=”‘. home_url() .'”>’. get_bloginfo( ‘name’ ) .'</a></p>’;
    echo apply_filters( ‘evolve_copy’, (string) $credits );
    }

    // Share This Buttons
    `

    http://wordpress.org/extend/themes/evolve/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter maurizio04

    (@maurizio04)

    oops, too many “backticks”…

    Thread Starter maurizio04

    (@maurizio04)

    A better copyright line….

    function evolve_copy1() {
    	$credits = '<p id="copyright" style="margin-top:20px;"> (c) Copyright 2010-2012 
     <a href="'. home_url() .'">'. get_bloginfo( 'name' ) .'</a>
      •  Powered by <a href="http://wordpress.org">WordPress</a></p>';
    
      echo apply_filters( 'evolve_copy1', (string) $credits );
    }
    
     // Share This Buttons

    Thread Starter maurizio04

    (@maurizio04)

    A better home page, no year on post date (useless)..

    <a href="<?php the_permalink() ?>">
    <span class="published"><?php the_time('M'); ?>
    <br /><strong><?php the_time('d'); ?>
    </strong></span></a>
    Thread Starter maurizio04

    (@maurizio04)

    Smaller sidebar, just like Adsense vertical banner…

    .container { width: 960px; margin: 20px auto; }
    #wrapper {width:990px;}
    .hfeed { width: 670px; float: left; }
    .aside { width: 260px; float: right; }
    .footer { clear: both; }
    
    .widget-content #search-text {max-width:74%!important;}
    
    #search-button-box {position:relative;float:right;width:78px;z-index:0;}
    .widget-content #search-button-box {width:18%;height:40px;}

    hello, I notice you got your ads to work in the evolve theme, I’m using 2.2.1 (the most up to date) and it still will not work. I go to the functions.php to remove the lines that you suggest, but they are not there. Any other ideas? Thanks

    Thread Starter maurizio04

    (@maurizio04)

    hi, I usually update from the wordpress site AFTER 1 week (always wait a week for any update to see if no one is complaining…).
    The Evolve code from wp site and home web site is always different, i do not know why and usually the ads on WP site never work…
    Anyway i’ll check the code.

    Thread Starter maurizio04

    (@maurizio04)

    The code is very different from 2.1.x so you had better to ask the developer on the theme site how to make ads working….
    I’ll stick with 2.08 for a while….

    evolve itself is not designed to work with ads which include javascripts, html, not safe content. you should use instead some plugins which covers adsense and similar codes. I can give you a trick which you can use in this theme version but then your theme won’t be safe.

    go to library/functions/options-sanitize.php file. find this line:

    $output = wp_kses( $input, $allowedposttags);

    change it to

    $output = $input;

    then your ads will start to work. but as I mentioned, your theme won’t be safe anymore and can be attacked by hackers.

    I do appreciate the quick responses, even though I liked the setup and look of Evolve there is no way I’m about to spend cash on something when the free version no longer works the way it used to concerning the ads. I see many other sites using adsense with the theme but now it is not supported? I went and and found a different one that works great and bought their premium theme.

    Thread Starter maurizio04

    (@maurizio04)

    The situation is getting confused 🙁
    I saw Norton catching a cross site javascript attach to my pc from a very legitimate web site, so the problem is real but the theme must decide to support Ads or Not.
    I guess google is a safe source so just exclude the javascript test if the source URL is Google Adsense.
    Or cut out from the theme the ADS support menu.

    @platinum634 might you let me know please which theme supports adsense which u use now? thanks.

    Thread Starter maurizio04

    (@maurizio04)

    I do not think there are too many free themes supporting ads in general, probably because wp.org at the beginning was non very happy about that feature.
    At 20cent per click very few sites will ever get rich with Adsense anyway but i cannot see the need to have ADS options not working with the biggest ads selling network.
    The standard no java ads can be handled with box text so no need to have box Ads…

    ps: how about adding the Google Analitycs code in the head section, very easy and widely used…having a plugin to add 4 lines of html seems to me a stupid idea…

    Thread Starter maurizio04

    (@maurizio04)

    I forgot, do you ever test Evolve with IE?
    Not the dashboard, the output.
    It is still a bad mess on every IE version, apart forcing compatibility IE7 mode.
    The gradient filter in the post data block is twice longer than the box itself……….

    I am currently working on an alternative which will enable adsense on the evolve, and it will still keep safe the theme. I test it on IE8. I can see the problem too, but still didn’t find out what makes the issue :/

    Thread Starter maurizio04

    (@maurizio04)

    it is this function that is crashing….
    i’ve cut it out.

    .entry-meta
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#e9e9e9′, endColorstr=’#cccccc’);

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Theme: EvoLve] Update 208 again cut out ads’ is closed to new replies.