• I’m curious about best practices in order to create pages which have dynamic content that is generally not blog based. For example, a custom gallery page that does nothing but load images from a directory or the database.

    I figured I could do this with hooks or conditional widgets in pages.

    Are there any examples or best practices in order to do so? I haven’t been able to find much online and I’m working on a wordpress site that is more non-blog than blog and therefore requires quite a few custom pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, I don’t know about best practices, but I would either code a plugin that provides a shortcode or create a custom template in your theme that outputs the images or whatever.

    In case you don’t want to change the layout of the page you should opt for the shortcode. In case the layout should be a little bit different here and there you should go for the new template.

    Thread Starter jessemerlin

    (@jessemerlin)

    The shortcode was what I was looking for, I think this will work thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating Dynamic Pages’ is closed to new replies.