WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
single page (4 posts)

  1. ghanshyam.nitsan
    Member
    Posted 1 year ago #

    I want to override a single page like loop-single in twentytwelve theme.

    anyone can help me?

    Thank you..

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    there is no loop-single.php in Twenty Twelve; all single post output is done with single.php and content.php (by use of conditional statements)

    what are you trying to achieve?

  3. ghanshyam.nitsan
    Member
    Posted 1 year ago #

    This is frist day work with twentytwelve.
    In single.php replace get_template_part( 'content', get_post_formate());
    with get_template_part( 'content', 'single');

    my file name content-single.php

  4. ghanshyam.nitsan
    Member
    Posted 1 year ago #

    Thank you sir..

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.