I have recently set-up my own blog on wordpress and added some 2-3 posts for a category, say A. There is also an option in the menu which has one page to give introduction of category A. This page (which gets opened by clicking Category A on menu) gives some brief description about the category. How can I make the posts related to category A appear after the description? I'm a newbie in wordpress. Any help will be appreciated!
Thanks
Instead of creating a page for certain category to show brief description about it. You can add description to the category. Navigate to the Posts >> Categories >> Find the category and hit edit. Where you can see the category description.
And as always you can set the category in menu! And it will display the brief description of category and all the posts in that category! Let me know if you still need any help! :)
Related
I wonder if there is any possibility to select a "main" category for a post, but also select "ghost" categories, so that a wordpress post only shows the main category but also appears on the other categories.
Example page: https://interestingengineering.com/autonomous-cars
If you go to that page you get all posts within the category autonomous-cars. However if you open for example the article about "The Future of Flying: A Japanese Flying Car Takes to the Skies" the main category on that site is "industry/vehicles":
https://interestingengineering.com/the-future-of-flying-a-japanese-flying-car-takes-to-the-skies
For me the main category would be industry/vehicles and the other categories where the post appears would be ghost categories.
Also I would like to know if the permalink structure could be preserved. Above example shows root/slug, however I would like to have root/main_category/slug.
Thank you in advance.
There are several ways to achieve what you want. I would recommend to use the Yoast SEO plugin as it includes all the features you need.
Since version 3.1 (2016) you can select the Primary Category, which allows to:
You can use the code from this valid answer from stack overflow to show only one category in your theme.
If you use in the permalink settings of WordPress /%category%/%postname%/ it will have your desired URL structure.
I want show filter section under only subcategory of product.
Reference site is below. How can I do? Is there any plugin for that?
Reference Site is: https://www.q-railing.com/en-ie/glass-railings/
Please help me.
I have a page containing a set of images linked to other pages. How can I make each of the linked pages a separate blog?
To give you some more context, each image represents a challenge that I set myself up to and I would like to have a separate 'blog' for each challenge to document my progress. So far I have managed to link pages together and navigate from the page containing all the challenges to the page containing the details about 1 single challenge. However the latter page is not a blog so I cannot add new posts to the page. If I try to write a new blog post it gets added above the challenges(list) page
This is a link to the page that I am refering to.
Thanks in advance for your help
What you need to do is use categories for your posts - like Challenge One and Challenge Two - and then your posts will be automatically organized into category archives. Add a third category - called All Challenges - to all the posts and that category archive will list all posts in all three categories by chronology.
The URLs to the category archive pages will be something like this, depending on your category names and slugs, and how you set up your category base in Settings>>Permalinks.
example.com/categories/challenge-one
example.com/categories/challenge-two
example.com/categories/all-challenges
Link those category archive URLs from your images on your main page that has a gallery of images for each challenge post category.
You can make up custom category templates for each category, so the layout and design can be different.
See
https://codex.wordpress.org/Using_Permalinks#Category_base_and_Tag_base
and
https://make.wordpress.org/training/handbook/user-lessons/categories-vs-tags/
and
https://codex.wordpress.org/Category_Templates
There are multiple ways you can achieve this in WordPress. Let me tell you the easiest one:-
Using Post Categories
Follow the steps below:
Step1: Break your challenges into different categories, for example Challenge 1, Challenge 2, and so on... You can easily do that by creating and choosing the right category while writing a post.
Step2: Go Settings->Premalinks in your WordPress dashboard and choose "Post Name".
Step3: Now you have to find the new links for your challenge images. You can find these links in Post->Categories tab within your dashboard. Once you are in the categories browse page within your WordPress dashboard, just hover over the category whose link you want and you will see a "View" tab which will take you to that particular category page. This category page will show only the posts that you have published under that particular category.
Step4: Once you have the category link with you just update it in the respective challenge image link.
I hope you will be able to resolve your issue with this.
in my wordpres have many category ( blog, gallery, review, carrer, profile) now i want to show in my blog page one widgets (custome widgets or hard code anyhow) only blog category month list and if i click month then show only blog category not other category. i can able to show only blog month by using plugins but if i click month then show all post from other category to. guys can you suggestion me how i can i do that. i am googling but not get any proper solution yet. see attached file my archive list. it could be widgets or hard code in template page no problem
perticular category archive file.
copy archive.php and rename with category-$slug.php otherwise category-$id.php
and change code in your archive file.
$slug = yourcategory slug name
$id = your category id
I'm kinda new to wordpress and was wondering if I could do the following:
Let's say I have a site for a bakery and in the mainmenu on top there are four links:
Home - About - Products - Contact
Under the page products I would have a number of posts : Bread, cupcakes, ..etc. all of these posts would be categorized under the category products. Now if I go to the products page I want to see only these posts in a sidebar. Therefor I have two questions:
How can I connect this category to this page
How can I show the posts from this category in a sidebar
If anything is unclear please feel free to ask me, also if you would suggest another way of working please let me know.
Much appreciated, thanks!
[EDIT]
I have found that it is better to add a category for this products category instead of a page. Now I'm still looking to display a static post as an intro for this products category.
For connect this category to this page
you can set product to category archive page from
wp-admin/nav-menus.php
you can create a simple page template to list category post
you can use http://wordpress.org/plugins/list-category-posts/ plugin and use short code like [catlist name="news"] in you page content.