WordPress.org

Ready to get started?Download WordPress

Forums

Adding custom fields at admin-UI (3 posts)

  1. tsaulial
    Member
    Posted 6 years ago #

    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

  2. scribblerguy
    Member
    Posted 6 years ago #

    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.

  3. tsaulial
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags