SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2011
    Location
    Zele, Belgium
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wordpress Blog, how to get rid of standard add-ons?

    Hello there

    I'm IT-manager for some schools in Belgium, and they asked me to update and restyle their site.
    So it's the first time I use Wordpress, although I am familiar with webdesigning..
    I choose a new theme for the site, Wordsmith-Anvil.
    Now I'm encountering a few problems and I was hoping someone could help me here.
    Everything works fine, but on some pages, above "add reaction" appears a gray box which says:
    "At last you are here. Be bold. Sieze the moment. Be the first to take the opportunity to post a comment here.

    We have beeen waiting for you to arrive here to provide your feedback. Now that you are here, go ahead and post a quick note. We would appreciate it. "
    Any ideas on how to get rid of it?

    I'm also having a small problem just under the header. There's a white <div>(like we would say in html-terms) with: subscribe & follow to link to the RSS-feeds.
    Actually I don't really need this, how can I get rid of that?

    Thanks a lot in advance!

    Kind regards
    Maxx-iT

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,598
    Mentioned
    411 Post(s)
    Tagged
    7 Thread(s)
    Ideally, dig into the code and remove those bits from the templates. Find your way to the comments.php file and look for this line (probably around line 47):

    Code:
    <p class="simple-red tac squeezepad">At last you are here. Be bold. Sieze the moment. Be the first to take the opportunity to post a comment here. <br /><br /><em>We have beeen waiting for you to arrive here to provide your feedback. Now that you are here, go ahead and post a quick note. We would appreciate it. </em></p>
    Replace the text with something that makes sense (and is short!). Jeesh, it contains typos/spelling errors anyhow. Pathetic.

    But if you can't get to that code, then you could hide those bits via CSS. E.g.

    Code:
    .simple-red {display: none;}
    I'm not sure of the best way to get rid of the subscribe and follow gunk, but you could go into the /inc/ folder and open the subscribe.php file and strip out most of the code there. E.g. cut out all of this:

    Code:
    <?php if ( isset($options['follow_disable']) && ($options['follow_disable']!="")) { ?>
            <div class="subscribetxt iestxt"></div>
            <div class="subscribe iesub">
    		<?php } else { ?>
            <div class="subscribetxt iestxt">Subscribe &amp; Follow</div>
            <div class="subscribe iesub">
            <a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php echo get_template_directory_uri() . '/images/rss.png'; ?>" width="20" height="20"></a><?php if ( isset($options['facebook_toggle']) && ($options['facebook_toggle']!="") && ($options['facebook']!="")) echo '<a href="' . stripslashes($options['facebook']) . '" target="_blank"><img src="' . $directory . '/images/facebook.png" width="20" height="20"></a>';  else //do nothin here ?><?php if ( isset($options['twitter_toggle']) && ($options['twitter_toggle']!="") && ($options['twitter']!="")) echo '<a href="' . $twitterurl . stripslashes($options['twitter']) . '" target="_blank"><img src="' . $directory . '/images/twitter.png" width="20" height="20"></a>'; else //do nothin here ?><?php if ( isset($options['flickr_toggle']) && ($options['flickr_toggle']!="") && ($options['flickr']!="")) echo '<a href="' . $flickrurl . stripslashes($options['flickr']) . '" target="_blank"><img src="' . $directory . '/images/flickr.png" width="20" height="20"></a>' ; else //do nothin here ?><?php if ( isset($options['foursquare_toggle']) && ($options['foursquare_toggle']!="") && ($options['foursquare']!="")) echo '<a href="' . $foursquareurl . stripslashes($options['foursquare']) . '" target="_blank"><img src="' . $directory . '/images/foursquare.png" width="20" height="20"></a>'; else //do nothin here ?><?php if ( isset($options['youtube_toggle']) && ($options['youtube_toggle']!="") && ($options['youtube']!="")) echo '<a href="' . $youtubeurl . stripslashes($options['youtube']) . '" target="_blank"><img src="' . $directory . '/images/youtube.png" width="20" height="20"></a>'; else // do nothin here  ?><?php if ( isset($options['googleplus_toggle']) && ($options['googleplus_toggle']!="") && ($options['googleplus']!="")) echo '<a href="' . $googleplusurl . stripslashes($options['googleplus']) . '" target="_blank"><img src="' . $directory . '/images/googleplus.png" width="20" height="20"></a>'; else // do nothin here  ?><?php } ?>
    </div><!-- END of subscribe  -->
    Otherwise, via CSS you could try hiding it, with something like

    Code:
    .subscribetxt, .subscribe {display: none;}
    Hope that helpeth.

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2011
    Location
    Zele, Belgium
    Posts
    94
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worked like a charm!!!
    Laughed at the typos ...

    Thanks for the help you guys!!!

    Kind regards
    Maxx-iT


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •