Forums

URGENT HEADING PROBLEM - PLEASE HELP (7 posts)

  1. Ian Ratledge
    Member
    Posted 3 years ago #

    Hi everyone.
    I have a huge problem that I need desperate help fixing.

    On my site http://www.crystalgamer.com I would like to make some headings that are spread all around the home page. I am trying to achieve something similar to that on http://www.paragamer.com.

    If you look on http://www.paragamer.com you will see that there are are lots of headings like:

    "Editor's Picks"
    "Reviews"
    "Previews"
    "Interviews"
    "Editorials"

    which are spread around the home page.

    There is also a "latest news" heading on the sidebar.

    I would like to achieve something like this on my site and get rid of the "Headline" and "Browse Categories" headings.

    I know very little about coding and I would greatly appreciate it if someone could tell me exactly what codes I need to put in and edit and in which php file.

    Please Help

    Greatest thanks

  2. Ian Ratledge
    Member
    Posted 3 years ago #

    Sorry to bump but this is really important to me.
    Please Help

  3. iridiax
    Member
    Posted 3 years ago #

    Your "Headline" and "Browse Categories" headings are actually images. To get rid of them, you'll have to edit your theme's code.

  4. Ian Ratledge
    Member
    Posted 3 years ago #

    I will have a try to delete them.

    However, does anyone know how to move headings around the page like on http://www.paragamer.com

    If so, please can you give me the exact coding I need to create the headings and move them around and tell me which php files to edit. I know nothing about html so maybe you could tell me where to put the coding in.

    Below is my index.php file. I would greatly appreciate it if someone could tell me what code I need to add the headings.
    I would like it to look like http://www.paragamer.com with the similar headings (e.g editorials,reviews) in the same places.

    Please help
    Greatest thanks

    Here is my index.php file:

    <?php get_header(); ?>

    <?php if(!is_paged()) { ?>

    <div id="top" class="clearfloat">

    <div id="headline">
    <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/headline.png" width="75px" height="21px" alt="" />
    <?php query_posts("showposts=1&category_name=Headline"); ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class="title">" rel="bookmark"><?php the_title(); ?></div>
    <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div>
    <?php $values = get_post_custom_values("Headline");?>
    " rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
    $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=300&h=275&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="300px" height="275px" />

    <?php the_excerpt(); ?>
    " rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read the full story »
    <?php endwhile; ?>
    </div>

    <div id="featured">

    <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/featured.png" width="72px" height="17px" alt="" />

    <?php query_posts("showposts=4&category_name=Featured"); $i = 1; ?>

    <?php while (have_posts()) : the_post(); ?>
    <div class="clearfloat">
    <?php $values = get_post_custom_values("Image");
    if (isset($values[0])) { ?>
    " rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
    $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=100&h=65&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="100px" height="65px" />

    <?php } ?>
    <div class="info">" rel="bookmark" class="title"><?php the_title(); ?>
    <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div>

    </div>
    </div>

    <?php endwhile; ?>

    </div>

    </div>

    <div id="middle" class="clearfloat">
    <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/category.png" class="clearfloat" alt="" />
    <?php $display_categories = array(5,6,7,8,11); $i = 1;
    foreach ($display_categories as $category) { ?>

    <div id="cat-<?php echo $i; ?>" class="category">
    <?php query_posts("showposts=1&cat=$category")?>
    <span class="cat_title">"><?php single_cat_title(); ?></span>
    "><?php echo category_description($category); ?>
    </div>

    <?php $i++; ?>
    <?php } ?>

    </div>

    <?php } ?>

    <div id="bottom" class="clearfloat">

    <div id="front-list">

    <?php
    $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("cat=-27,-28&paged=$page&posts_per_page=5"); ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="clearfloat">
    <h3 class=cat_title><?php the_category(', '); ?> &raquo</h3>
    <div class="title">" rel="bookmark"><?php the_title(); ?></div>
    <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div>

    <div class="spoiler">
    <?php $values = get_post_custom_values("Image");
    if (isset($values[0])) { ?>
    " rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
    $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="150px" height="150px" />

    <?php } ?>

    <?php the_excerpt(); ?>
    </div>

    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>

    <div class="right"><?php next_posts_link('Next Page »') ?></div>
    <div class="left"><?php previous_posts_link('« Previous Page') ?></div>
    <?php } ?>

    </div>

    </div>

    <?php get_sidebar(); ?>

    </div>

    <?php get_footer(); ?>

  5. kmessinger
    Member
    Posted 3 years ago #

    First, you have some errors you need to get rid of eventually shown here, http://validator.w3.org/check?uri=http%3A%2F%2Fcrystalgamer.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    Second, you can view the source code in your browser for the site you like and tell from there what you need . . . check the theme versus yours as that may be the major difference.

    Third, putting all that code into the index.php file will lead to lots of troubles. Unlike a index.html file the index.php file should be basically bare except for the loop. The file(s) that most modifications should be made is the header.php file (most like the index.html file) and footer.php.

    Finally, maybe someone here is willing to do all your coding but if it is really important you might want to put a request in for paid assistance.

  6. Ian Ratledge
    Member
    Posted 3 years ago #

    In that case I will use header.php and footer.php.

    My site is using the same theme as http://www.paragamer and I have looked at the page source but it is hard to tell what code I need and exactly where to put it. I am worried to change anything in case I make a mistake.

    Secondly, the post above mentions that I have some errors. I have know idea what they are so perhaps someone could tell me what is wrong.

    Also I do not know what the loop is or what it does. I am also not sure exactly where to put it in. I have read about it on the wordpress codex but I am still not entirely sure about it.

    Finally, I may consider having some paid assisstance. If anyone is interested please email me at ianratledge@hotmail.co.uk and I will possibly make a decision then.

    Please help
    Many thanks

  7. djalbani
    Member
    Posted 2 years ago #

    I am having the v same problem :(

    It seems like no one in the world has the solution to this problem

    :'(

Topic Closed

This topic has been closed to new replies.

About this Topic