Including Posts in Pages
-
Hi,
According to WordPress, you can only post on a page once. Is there a way (plugin possibly?) that I can blog on a page, not just HOME but on other pages that I have created????
Thank you for any help!
-
Not sure exactly what you want to do, but you can create a template to use on a Page and retrieve Posts in the template.
Please explain more.
Sorry for the confusion. Let me restate what I tried to ask. lol. I know that on my wordpress home page, I can post multiple times and multiple things. However, if I create another page (like FASHION), I can only post once and only edit that single post. I was wondering if there is a plugin that could help me make my FASHION page just like my home page????
Thank you!I am still not sure if you want the same posts on your Fashion page as on the Home page.
If you do, you can do that with a template for the page. Make a copy of the index.php file and name it fashion.php. Add these lines to the front of the file:
<?php /* Template Name: Fashion Page */ ?>
Now, create a blank Page with whatever title you want and assign it the template ‘Fashion Page’.
That should show posts on your Fashion page exactly like the Home page.
If you want different posts, you will need a different approach.
The second option is correct. I do not want the posts on my FASHION page to also be on my HOME page. Do you know about the “different approach” you talked about??? Thank you!!!
You will have to create custom post type I have article on my website custom-post-types-wordpress-theme
There are several ways to show Posts on a Page.
One way is to use Categories. You would create a Fashion category and assign that to the posts to show. Then, you show that category on your Fashion page and exclude that category from your Home page.
Exactly how you do that depends on your theme and how your menus are made. It may be easiest to use a couple of plugins.
The Page Links To plugin will let you assign a category to a page.
The Simply Exclude plugin will let you exclude categories from the Front (Home) page.
I did not recommend Custom Post types because they are not automatically included in searches. So, if you have a Search option on the site, none of them will be found.
Adding them is fairly simple, but you do have to make a change to the code in your theme.
thank you so much govpatel and vtxyzzy! i’ll try both of your options and tell you if they work 4 my site. thank you again!
vtxyzzy, i found your option easier to use for my site. i have the 3.2.1 version of wordpress (the latest) and my theme is called “twenty ten 1.2”. i have downloaded both plugins, could you walk me through the steps of how to get to the final outcome of what i want? thank you!
I think this includes everything:
- Activate both plugins
- Create a new Fashion Category under Admin->Posts->Categories
- Hover over the Fashion Category name and note the tag_ID in the status bar at the bottom of the screen. For me it was 96
- Go to Admin->Simply Exclude->Exclude Categories
- Select the Exclude radio button for ‘Visibility on front/main page’
- Click the checkbox next to Front for the Fashion category in the list lower on the page.
- Click ‘Save Changes’
- Create a new blank Page titled Fashion
- Scroll to the bottom to the box labeled ‘Point to this URL’
- Enter ‘https://yoursite.com/fashion/?cat=96 (assuming you use pretty permalinks)
- Publish the page
Now add the Fashion category to some Posts and check the results.
Ok, so I did all the steps. However, the only thing that worked was excluding the post on fashion from the HOME page (but that’s still great for a start!). My ID number for the category was 9. my regular permalink for my fashion page was: ‘https://www.mysite.com/fashion’ so i put ‘https://www.mysite.com/fashion/?cat=9’ for the “Point to this URL” part. i published, but when i went to my fashion page, it was still blank ?? the post i put was only available when i clicked on my categories widget and chose the fashion category. is there something wrong with the URL i used? is it possible that i have the post appear by just clicking on the fashion page, and not having to click on the fashion category to get to the posts?
thank you again so so so much! i really appreciate all of your help!What you did sounds correct. Did you clear your browser’s cache? If you are using a caching plugin, did you clear the page cache?
You said you ‘went to my fashion page’. How did you get there?
Also, what appears in the address bar at the top of the screen when you click on the ‘Fashion’ menu item?
I just cleared by browser’s cache and I am not using a caching plugin. I got to my fashion page just like any other viewer would. Went to https://www.mysite.com then just clicked on my fashion page. When I just click on my fashion page, the address bar says: ‘https://www.mysite.com/fashion’ and when I click on my fashion category, the address bar says: ‘https://www.mysite.com/category/fashion’.
So, put ‘https://www.mysite.com/category/fashion’ in the URL for Page Links To.
so i did that. but then the post on fashion only appears when i click on the categories widget and choose fashion. i want the post to appear when people just go to the fashion page, and not have them have to choose from the categories widget…
- The topic ‘Including Posts in Pages’ is closed to new replies.