• aleister

    (@aleister)


    I just installed v1.5 and it is very nice! There are a few issues I am having with the static page feature though. Maybe someone has some ideas.

    1) Since I use httpd.conf instead of .htaccess on my Apache server (I prefer it this way – I have the use of .htaccess disabled), It is a pain to have to telnet in to add more code for new pages.

    Instead of making the static pages something like /about/ (which of course would need the rewrite rules), is it possible to set it to simply create a static page (about.php) ? This may be past it’s limitations. Just curious.

    2) I know I can uncheck the comments box when creating a new page, but it still shows the comment section, it just says comments are disabled. Is there a way to 100% hide this on the pages I want?

    3) I was also curious about adding php to these static pages (contact forms, etc..) but I was happy to see some solutions such as using a custom template file for it.

    4) last but not least, I notice that under the ‘Pages’ section, where it dynamically lists the custom static pages, it does not show the link for the page you are currently viewing. Is it possible to set this to always show it?

    Sorry for all the questions.. thanks for any responses ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter aleister

    (@aleister)

    well.. I tried the default theme.. and it does indeed show up. I suppose I will have to re-make my entire theme using the newer one.

    I also see that I can no longer select the classic one again in the admin panel. It only shows the default ??

    NuclearMoose

    (@nuclearmoose)

    Aleister,
    You can create all the actual static pages you want outside of using the Pages function in WordPress. The difference is that the Pages functionality stores the page in the database, whereas if you create your own about.php page, it exists as an actual file within your site structure.

    Thread Starter aleister

    (@aleister)

    Yes.. that is the method I used with the previous version. I just figured I would use the new feature.

    Before also I simply split up the main index.php into a header and footer, etc.. but the index.php is different now. Oh well. I will figure something out once I remake the theme. Thanks for your help!

    Thread Starter aleister

    (@aleister)

    Not to mention I really like being able to make static pages that I can have comments on if I choose to ??

    NuclearMoose

    (@nuclearmoose)

    Well, you can still include The Loop in any of your static pages. It will take a bit of time to get used to how the files are now set up, but you will get the hang of it!

    idowens

    (@idowens)

    Aleister,

    I just switched from hard coded static pages to DB-powered ‘pages’ when I moved to 1.5 a few days ago so let me know (via my sites contact page) if I can help you answer any questions you have about the transition.

    exposure

    (@exposure)

    I too completed the move just on the weekend and I find it personally better than having seperate folders. For future use it is better when you want to change themes etc. Once you have finished your front page style the rest is history…

    Thread Starter aleister

    (@aleister)

    I just nearly finished re-creating the theme with the new style. Anyone want to take a look and tell me what they think? https://www.dagondesign.com

    I never could get the static pages to work from within WP itself. The content I added never showed up. I figured I needed some function in the template file which tells WP what data to load, but I could not find any docs on this.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Few problems with the new (static) page feature’ is closed to new replies.