• Ok, firstly I am a complete newb to this whole website thing. I’m working on developing my first website (for a start-up local business…I’m the only employee ?? ).

    I don’t know php or html. Already successfully installed WordPress. Here’s my problem:

    I want to create a separate page for articles. I want to post them on the Home page, then be able to move them to the “articles” page later to keep the front page cleaned up. On this articles page I want a section for each category of article I want to save, like so:

    Articles Page:

    Training (short Summary under link)
    Nutrition (same)
    Opinion (same)
    Random (same)

    Each of these sections would link to a separate page that contains all the content in the category, listed underneath for access. So I guess I’d actually move the article posts to a 2nd “training” or “nutrition” page under Articles.

    This is probably a very basic question. In that case I’m sorry! But I have absolutely no clue how to do what I want to do. I have seriously regressed in my tech savvy over the years, sadly. Can anybody explain how to accomplish this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • So you want:

    – Your Home-Page to list a pre-defined number of articles (starting from most recent) from all categories.

    If this is correct you will have to add a piece of PHP code to your index.php theme file so to limit the number of posts returned (otherwise all posts are returned). Maybe like here.

    – You want an articles page showing a certain amount of posts for each category? But it wouldn’t show posts that are shown on the homepage?

    This can be achieved by creating a custom page template.

    – Then you want a category page listing all posts for that category?

    Creating a standard category.php will do this for you. Does your theme already have a category.php file? Then visit yoursite.com/category/category-name/ to see what it looks like.

    The problem is you don’t know PHP or HTML, so either you have to learn some ?? or find a theme/plugins which do what you want

    Thread Starter 1st Try

    (@1st-try)

    I definitely plan on educating myself as fast as possible. Unfortunately for me, my computer tech days ended about 12 years ago (hobby), and even then I wasn’t doing web-based hobby stuff. I’ve long since forgotten syntax and…well pretty much everything. The current problem is that I work 2 jobs, plus my start-up, so time to do technical reading and learning is very slim.

    But I am definitely looking to start educating myself. Do you or anybody else have a recommended source that you like for php or html? I would be most interested in buying one.

    Home Page: Correct. I want the home page to see Articles, media, pictures, whatever I want to post. Everything else, yes that sounds exactly like what I was thinking organizationally.

    As far as creating a standard category.php—I’m hosting locally on my mac so I can build and organize before I publish on the web. Is

    visit yoursite.com/category/category-name/ to see what it looks like.

    in the wp-admin folder or the theme folder itself? (wordpress/wp-content/themes/breathe).

    There is no category.php for the breathe theme that I am using but there is a category.php in the wp-includes folder.

    Well as for web based resources I guess:

    https://www.w3schools.com/
    https://www.tizag.com/

    Are 2 good resources where you can quickly go through the basics step-by-step with testing/tutorials for HTML/CSS and PHP/MYSQL if you are interested you just click the relevant section e.g HTML.

    But then you will also want to learn how WordPress works. Obvsiouly all of this is only relevant if you are interested and want to be able to customize your site exactly how you want it!

    The WordPress Codex has tons of articles on how WordPress works codex.www.ads-software.com/

    As for category link I mean on your actual site just replace yoursite.com with your site name and category-name with an example category name you have set up. Then the category page should appear. and you can see if it does the job you are expecting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newbie–Want to create categorized Archive’ is closed to new replies.