Tagged: , , ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #4579

    Hi,

    My client has asked me to remove the search field in the upper right and the “Latest News” posts in the bottom right. How can I go about doing that? I’m having trouble identifying what creates these sections, etc.

    Thanks!

    #46842

    Hey,

    To remove the search form, open up header.php, find and remove this code:

    <?php get_search_form(); ?>

    To remove the Latest News widget, open up index.php find and remove this code:

    <div class='box box_small box3'>
    <div class='widget'>

    <?php
    $latest_posts = new kriesi_list_post_items;
    $latest_posts->recent_posts('Latest News');
    ?>
    </div>
    </div> <!--end box_small-->

    Hope this helps!

    James

    #46843

    Perfect! Thanks so much, James. I might have a couple more questions too…

    #46844

    Just ask if you need any further help :)

    #46845

    Thanks! OK, here’s something that’s bothering me:

    1. Currently I’m using a specific post category for a static image on the homepage; when I click this image, it takes me to the post. On the post page, I still see the default placeholder widgets from Themeforest; why is that? How do I get rid of them?

    2. What is the best way to use a static image for the homepage? By just setting the “Big Image Slider” to one category?

    3. Can I link that image to anything I want, or does it have to be that category/post the image from?

    Here’s the website I’m working on, if it helps:

    http://melissamorganfineart.com/

    #46846

    Hey,

    1) You replace the dummy widgets with custom widgets under Appearance > Widgets. Just drag’n'drop any widget into the empty widget fields/areas (i.e. text widget, page widget, etc.).

    2) Yes – create a slider category and assign some posts to it. The slider will only show this category.

    3) The slider images link to the posts by default however you can set a custom field called “frontpage-link”. Type in the url in the value field – you can link to any page/post/category or external url you like.

    #46847

    Thanks so much!!

    #46848

    Glad that I could help you :)

    #46849

    Hi Dude,

    Regarding my question #3, I don’t see options for “frontpage-link” anywhere; can you explain to me a bit more how to use this feature? Linking to any page/post/category or external url would be ideal, as I want to start making the blog posts separate from home images.

    Thanks!

    #46850

    Hey,

    You have to create a custom field called frontpage-link and add the URL of your choice as its value. If you don’t see Custom Fields as an option, under screen options (top right of the WP admin screen) check the “custom fields” option and you should see a box similar to this: http://www.cl.ly/1Q3A0k1L0s0j2W0C3D3p

    James

    #46851

    Hi,

    Where would one normally find “Custom Fields”? I also do not see it on my “screen options”. Here’s what I see:

    http://img706.imageshack.us/img706/4843/screenshot20110615at110.png

    #46852

    Hey,

    You’ll only see Custom Fields on a post or page edit screen under Screen Options, where the option is relevant.

    James

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Remove Search & Latest News’ is closed to new replies.