• 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 https://www.erakorislandresort.com/index.php/packages and I just need to add two packages to it.

    Any help would be very much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • are you editing the page in the dashboard?because you be able to easily edit a page and add content

    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 https://pastie.org and link it here for someone to help you locate it.

    Thread Starter FionasUsername

    (@fionasusername)

    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 ??

    Thread Starter FionasUsername

    (@fionasusername)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't find file to edit a page’ is closed to new replies.