WordPress.org

Ready to get started?Download WordPress

Forums

Can't find file to edit a page (5 posts)

  1. FionasUsername
    Member
    Posted 2 years ago #

    This might be a silly question, but I am very new to this with little to no IT background and my boss has asked me to work out how to edit a page on our website, as there isn't really any decent IT support here in Vanuatu!!

    I have been trying to add two posts to a static page on our website, and have created the new posts through dashboard, but every time I click 'publish' it overwrites the last post instead of just adding a new one! I think I need to edit the .php file for the category to allow the page to include another post, and I have been able to write the code and temporarily see my changes just using the chrome inspect/edit element option, but I can't for the life of me work out where to actually input it to make the changes on the website..

    I'm sorry if I haven't explained this very well, the page I want to edit is http://www.erakorislandresort.com/index.php/packages and I just need to add two packages to it.

    Any help would be very much appreciated!

  2. Samuel B
    moderator
    Posted 2 years ago #

    are you editing the page in the dashboard?because you be able to easily edit a page and add content

  3. Japh
    Member
    Posted 2 years ago #

    If you are adding posts to the packages category and it's pushing the other posts off the page, it could be that the number of posts set to display for that category is set to (for example) 4.

    You may need to check for a category-package.php file, or if that doesn't exist then just a category.php file, and somewhere in there you should be able to see where the number of posts is set.

    If you cannot find where that code is in the file, perhaps you could even post the code to http://pastie.org and link it here for someone to help you locate it.

  4. FionasUsername
    Member
    Posted 2 years ago #

    I edit it in dashboard, but it still overwrites the most recent post..

    I couldn't find a category-package.php file, just come numbered category.php files, none of which seem to relate to the packages page!

    I'll keep hunting though, and I'm checking out pastie.org now, thanks :)

  5. FionasUsername
    Member
    Posted 2 years ago #

    All the pages are static if that makes a difference..!

Topic Closed

This topic has been closed to new replies.

About this Topic