WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customize template page (10 posts)

  1. ricarjay
    Member
    Posted 1 year ago #

    Hi Admin,

    I was creating a custom page for the index I already add the "Template Name : Custom Index Page." after building the page for basic structure I rush on the back end to see if the Template section will show, but I didn't show, Tried to re-installing wordpress, re-installing my xampp and still the same.

    Can anyone help me figure this thing and how to avoid or fix.

    Thanks

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

    what is the file name for that template?

    avoid those default file names - http://codex.wordpress.org/Template_Hierarchy

  3. ricarjay
    Member
    Posted 1 year ago #

    Hi Alchymyth,

    Thanks for your reply, I named it custom_page.php

  4. pinoydeveloper
    Member
    Posted 1 year ago #

    Hi ricarjay,

    Please try to deactivate your current theme and then switch back to your theme.

    Thanks.

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

    if the Template section will show

    are you referring to the 'page attributes' section in the 'edit page' page?

    what theme are you working with?

    can you paste the full code of your page template into a pastebin and post the link to it here? (see http://codex.wordpress.org/Forum_Welcome#Posting_Code )

  6. ricarjay
    Member
    Posted 1 year ago #

    Hi Pinoydeveloper,

    Already did that i even re-install wordpress and xampp thinking to fix it,

    Alchymyth, here the code i post on pastebin.com http://pastebin.com/fmUNJZ7j... im trying to learn how to create my own theme, I've been doing it before but now i can't make it work.

    Thanks anyway hope we can find solution here.

  7. ricarjay
    Member
    Posted 1 year ago #

    http://pastebin.com/fmUNJZ7j here's the correct link sorry for that

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

    does not seem to like a space after Name before the colon :

    this should work:

    /**
     *
     *
     * Template Name: Custom Index Paged
     *
     *
     */
  9. ricarjay
    Member
    Posted 1 year ago #

    Great thank you very much for helping me....

  10. ricarjay
    Member
    Posted 1 year ago #

    Hi Admin thank you very much for your help :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.