• Hi,

    I’m developing a site for commercial customer, and using the WP for CMS. The idea is that customer can choose how many blog entries there will be at my custom-made templates frontpage.

    Problem is that where and how to create the input for this custom data value? There should be a field at admin-site: “Number of posts at front page” and then user could enter “5” and then click “save”.

    I also have other issues where i would like to give the admin a chance to write a custom text. Example: Address of a company and user could write those couple of lines of text and then at my WP template I would use this specific information at (say) footer of the site.

    Is there any generic solution, or do I need to write my own plugin or something?

    br,
    Tuomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Problem is that where and how to create the input for this custom data value? There should be a field at admin-site: “Number of posts at front page” and then user could enter “5” and then click “save”.

    There is an overall option in the Admin Panel. Look at the Options > Reading SubPanel, there’s an option called “Blog pages show at most” where one can enter any number.

    Take a look at the Custom Query String Reloaded plugin. (Don’t use the big download link, but the link in the box above the post.

    Thread Starter tsaulial

    (@tsaulial)

    Yep, your solution solves the number-of-posts-at-frontpage -problem. But what I’m looking for is customizable generic solution to add multiple variables for theme to use. Sure these variables could be written to (say) functions.php -file, but it’s not very admin-user-friendly solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding custom fields at admin-UI’ is closed to new replies.