• Resolved kmclafferty

    (@kmclafferty)


    I am very new to web design and I am trying to design a website for my small office. I would like to delete the blog content from the template that I got. How can I do that? Ex: get rid of:
    Follow us on Twitter, Facebook, etc.
    Also to remove the search button and the flickr photo box.
    Thank you!

Viewing 14 replies - 1 through 14 (of 14 total)
  • You would have to tell us which template/theme you are using. Each one is constructed differently.

    Thread Starter kmclafferty

    (@kmclafferty)

    It is the Titan theme. Thanks again!

    comment out or remove this bit from theme’s header.php

    <div id="follow">
          <div class="wrapper clear">
            <dl>
              <dt><?php _e('Follow:', 'titan') ?></dt>
                <dd><a class="rss" href="<?php bloginfo('rss2_url'); ?>"><?php _e('RSS', 'titan') ?></a></dd>
                <?php if ($titan->emailToggle() == 'true') : else : ?>
                  <dd><a class="email" href="<?php if ($titan->feedEmail() !== '') echo $titan->feedEmail(); else echo "#"; ?>"><?php _e('Email', 'titan') ?></a></dd>

    back up 1st

    There’s another way you could do it. Add the following line to the bottom of the style.css file:

    div#follow ( display: none; }

    It’s not as clean as solution as what samboll recommended, but it would save you from having to edit the template files, and it is easily reversible.

    Thread Starter kmclafferty

    (@kmclafferty)

    Thank you both but somehow none of these worked ??

    Perhaps if you gave us a link to your site, we could take a closer look.

    Thread Starter kmclafferty

    (@kmclafferty)

    thanks.

    retinasouthflorida.com

    hmmm…that works on my local test install

    Thread Starter kmclafferty

    (@kmclafferty)

    I tried it twice and the website went down. If memory serves, when I tried to access the website following, it gave me an error #52. I cannot recall what the message was, however.

    Thread Starter kmclafferty

    (@kmclafferty)

    Parse error: syntax error, unexpected T_ENDIF in /home/content/42/6001242/html/wp-content/themes/titan/header.php on line 52

    What about the solution I gave you? Add this to the bottom of your CSS file. It cannot possibly cause your site to go down, since it does not involve editing the template files.

    #follow ( display: none; }

    Thread Starter kmclafferty

    (@kmclafferty)

    No, it just didn’t change anything. I still have it in my css file but the Follow Twitter, Facebook, etc is still there.

    I have no idea why it’s not working. I can see the rule there in your CSS file; it’s formatted corrected and it does not appear to be commented out.

    Try moving it up in the file. Put it right underneath this line:

    @import url(“stylesheets/master.css”);

    I know what the problem is. You have a typo in the rule. You need to use curly brackets, not parentheses:

    div#follow ( display: none; }

    Change to:

    div#follow { display: none; }

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Removing content from wordpress’ is closed to new replies.