WordPress.org

Ready to get started?Download WordPress

Forums

How do I remplace the text in my blog by the theme? (5 posts)

  1. memiki
    Member
    Posted 8 years ago #

    hey
    i have uploaded this new coffee cup theme, and i'm having problems.

    http://www.tasteoher.net/wordpress

    see that place where it's written 'space for your links here', well how do I put those links there?
    and also, that menu on the left, how do i change it? i would like to put the archives last, erase the meta, do another ''category'' and stuff

    i'm really lost, and i'm sure its a idiot thing...

    i would apreciate your help...

  2. JacksonBoyle
    Member
    Posted 8 years ago #

    Damn Japanese keyboard... where'd my backticks go?!
    Right, try again... :(

    I had a look through your code, and you need to change this bit (possibly in header.php, maybe in index.php)

    <div id="hmenu"> <ul id="top"> <!-- I'm afraid you're going to have to add your links in manually. Hey you want me to write your blog for you as well :)-->
    <li><a href="#" title="Space">space</a></li>

    <li><a href="#" title="for">for</a></li>
    <li><a href="#" title="your">your</a></li>
    <li><a href="#" title="links">links</a></li>
    <li><a href="#bottom" title="search in previous posts">search</a></li>
    <li></li>

    to change your links. Just add the address where the # is, and the description in the title, plus the text you want to show on the site just before the </a>

    As for the menu, that's easier. Want rid of the meta? Delete this portion (probably in the sidebar.php)-
    <li><h2>Meta</h2>
    <ul>
    <li><a href="http://tasteoher.net/wordpress/wp-login.php">Login</a></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform."><abbr title="WordPress">WordPress </abbr></a></li>
    </ul>

    </li>
    Better yet, as you mentioned you want to add other stuff, you could just change the info in the meta section to what you wanted.

    As for order, best bet is to do a cut and paste job. Careful that you keep the code structure intact though!

  3. katie1
    Member
    Posted 8 years ago #

    I trialled the Coffeecup theme, so here's my 2 cents worth.

    1) change nav links
    A) Open header.php (if you have it re-writable) and insert your links there. You'll find them under
    <div id="hnav">
    <div id="hmenu">
    <ul id="top">
    -----------------[here they are]-----------------------
    </div>
    </div>
    </div>

    I inserted this peice of code for my home link:
    ="<?php echo get_settings('home'); ?>" title="home">

    between the href = ' ' tags and that brought up my home page when I click "home".

    As for the other links, I'm waiting on a reply from support as to how to bring up individual categtories because I use the horizontal aspect as my main primary navigation. So at present I can't help you there.

    2) changing order of sidebar.
    A) Again, if you have your theme re-writable, open sidebar.php. This is what you'll find:


    <div id="sidebar">

      <!--
    • <h2>About</h2>
      You can put a small amount of info about you here.
      Name, contact details etc.
    • -->

    • <h2><?php _e('Categories'); ?></h2>
        <?php wp_list_cats('sort_column=name&optioncount=0&exclude=3,4,5,6,7'); ?>
    • <h2><?php _e('Monthly Archives:'); ?></h2>
        <?php wp_get_archives('type=monthly'); ?>
    • <?php /* If this is the frontpage */ if (is_home()) { ?>

    • <h2><?php _e('Links'); ?></h2>
        <?php get_links('-1', '
      • ', '
      • ', '
        '); ?>
    • <?php if (function_exists('wp_theme_switcher')) { ?>

    • <h2><?php _e('Change Themes'); ?></h2>
      <?php wp_theme_switcher(); ?>
    • <?php } ?>

    • <h2><?php _e('Meta'); ?></h2>
    • <?php } ?>

    </div>

    SEE THIS:

  4. <h2><?php _e('Monthly Archives:'); ?></h2>

      <?php wp_get_archives('type=monthly'); ?>
  5. that's your archives section. Just select and copy (so you don't ruin anything) and paste the code down the sidebar where you want it to go, taking care not to inject it into other code. Save your changes. Then preview your website to see if you like archives where you place it.

    If so, go back into the theme sidebar.php and find the original

  6. <h2><?php _e('Monthly Archives:'); ?></h2>

      <?php wp_get_archives('type=monthly'); ?>
  7. and delete it.

    Now you'll only have your re-positioned archives where you copy/pasted it and not duplicates.

    3)erase the meta
    A) Well, that's self-explanatory. Just highlight the area and delete. But I would strongly recommend that you just copy the meta into a notepad file, save as txt onto your desktop just in case you require it for later use. Then you can delete the original if you don't want it. I'd image that once you delete it from your sidebar, it's gone - full stop. No Meta data in the theme at all. Hence my suggestion to save a snippet onto your computer just in case you change your mind.

    3) do another "category" and stuff
    A) Unable to determine exactly what you mean.

    Hope this helps

    Scout down the page until you find

  • katie1
    Member
    Posted 8 years ago #

    PS: When deleting Meta you have to be careful not to delete your login & register code. If you delete it along with the meta stuff you won't be able to login back into your admin section while browsing your site via browser.

  • JacksonBoyle
    Member
    Posted 8 years ago #

    Oh good call Katie1. Forgot about the admin factor when I was editing my post!
    Good Luck Memiki!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags