WordPress.org

Forums

Posts Title & Cateogry Full Page (10 posts)

  1. nicolekwong
    Member
    Posted 6 years ago #

    I'm sorry I'm asking two questions in one thread.I really hope the forum webmaster or moderator will not mind about this.

    Back on topic.
    I want to have a little bit change on {Date} {author} under posts to {Date} {Title}
    (for example: [9/May/2009 ] [FIVB ]

    The link : http://www.volley.lu version 2.7 theme is making by my italy friend
    The Author Nicole Kwong is me,I would like to change it to Title while I can add what I want.

    Second,I made the page (volley.lu,Contact,Term of Use) in single post page.
    How can I change post like the page?(in full post without middle column,and right column

    I hope I did explain it in details,but if not,I will be here to give more informtion to help my problem.

    Thanks any expert here,I'm appericate for the help.

  2. Ben Sutcliffe
    Member
    Posted 6 years ago #

    To change the author to the title, find the author code:
    <?php the_author(); ?>
    and replace with
    <?php the_title(); ?>
    in index.php, archive.php, category-x.php, single.php, search.php (where they exist)

    To make the pages look like posts, take the code in single.php and put it in to page.php (assuming you have those theme files). If you don't have them, then it will be controlled in index.php of your theme. You probably need to put the content in another div tag (eg. <div class="leftcontent">) and then insert your sidebars (which will be some PHP code you can find in single.php).

    See MichaelH's links

  3. MichaelH
    Member
    Posted 6 years ago #

    I want to have a little bit change on {Date} {author} under posts to {Date} {Title}
    (for example: [9/May/2009 ] [FIVB ]

    That would usually be in a theme's index.php template where you would rearrange the_time() (or the_date()), the_title(), and the_author().

    See also:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

    Second,I made the page (volley.lu,Contact,Term of Use) in single post page.
    How can I change post like the page?(in full post without middle column,and right column

    With the help of the Template Hierarchy article, determine what Template is displaying your "single posts", then edit that accordingly. You will want to use the template tag, the_content(). You may have to delete something like <?php get_sidebar(); ?> if you don't want sidebars used by the single post template.

    Oops, see bsutcliffe got there first ;)

  4. nicolekwong
    Member
    Posted 6 years ago #

    I don't know if i should post my code here to make more clearly.Because my friend made the index.php look different to other.

    <?php get_header(); ?>
    <?php $tab = tab1; ?>
    <?php $sottotab = 0; ?>
    <?php include ('componenti/css.php') ?>
    </head>
    <body>
    <?php include ('componenti/titolo.php') ?> < = title>
    <div id="precontainer">
        <div id="container">
            <?php include ('componenti/testata.php') ?> <menu>
            <?php include ('componenti/col1.php') ?> <column 1)
      		<?php include ('componenti/col2.php') ?> <column 2>
            <?php include ('componenti/col3.php') ?> <column 3>
            <?php include ('componenti/footer.php') ?> <footer>
        </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    I don't know which file I could change with my 2 problems.
    I'm sorry about that.

  5. MichaelH
    Member
    Posted 6 years ago #

    I would recommend you backup, especisally your theme files, before doing anything (see WordPress Backups).

    Assuming you've identified what template controls your 'single post' view, then this code COULD be what displays your 'extra columns' :

    <?php include ('componenti/col2.php') ?> <column 2>
    <?php include ('componenti/col3.php') ?> <column 3>

    Also component/co11.php might be where you need to rearrange your title/date/author.

  6. nicolekwong
    Member
    Posted 6 years ago #

    MichaelH,
    Yes,you're right.So I should follow your step or maybe "bsutcliffe" step to change title/date/author.

    And second,How actually I can do for the category in full page?
    My friend is very busy,so I've no idea how to ask him.
    But he told me I've to create a page "category-id.php,is it a php file or categories in control panel that I need to create?
    And what is the following step after I create the php file?
    I did try to read the link you posted,but I'm Sorry,I'm a newbiw in wordpress.But I will try my best to get your meanning.

  7. MichaelH
    Member
    Posted 6 years ago #

    You will want to review and understand Category Templates and Template Hierarchy.

  8. nicolekwong
    Member
    Posted 6 years ago #

    Actually I don't really understand,because it doesn't show the actual example....I'm stupid... :(

  9. MichaelH
    Member
    Posted 6 years ago #

    No you are not stupid, you are just undertaking a task that requires specific knowledge.

    Wishing to not appear impolite, please consider posting a "New Job Request" [1] to have a professional work with you, or consider joining and soliciting professional assistance from the wp-pro mailing list [2].

    [1] http://jobs.wordpress.net/postajob.php or http://www.elance.com/php/search/main/eolsearch.php?matchType=profile#page=1&matchKeywords=wordpress&catFilter=100

    [2] http://lists.automattic.com/mailman/listinfo/wp-pro

  10. nicolekwong
    Member
    Posted 6 years ago #

    Ok.Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Topic