When would you use a post instead of a page?
Think of pages as your static content or “one-off” kind of content that will seldom need changing. This might for example be your About page, and is seen as timeless entities. Posts on the other hand are your blog entries or dynamic content that gets added regularly. Lets have a look at the two in more detail.
What is the difference between a post a page and a category?
Posts tend to be timely, as in they’re usually the latest news for the company, and they are typically displayed in reverse chronological order (the newest post being at the top). One of the other key differences between pages and posts is that categories and tags can be applied to posts, but not to pages.
How to add CSS classes to custom menu?
In the upper area of Appearance -> Menus page, click to expand the Screen Options, check the checkbox of CSS Classes. Now when you expand each of the added menu item, you’ll see a CSS Classes (optional) field. Thanks for contributing an answer to WordPress Development Stack Exchange!
How to add a class to a menu link?
By doing this you can actually add a class to the menu links: Towards the end of the code are several lines that start with $item_output. In particular, you want to look at this piece: Because this line determines the output for the beginning of the link html. If you change it to something like this:
How to create a custom link in WordPress?
Then… in the Menu tab of the WP Dashboard, create a custom link, add it to your menu. On the top where is says Screen Options, make sure you have “Link Relationship (XFN)” checked. It will add that field to your custom menu item.
Is the ubermenu plugin baked into WordPress core?
This is a question I get a lot related to UberMenu – WordPress Mega Menu Plugin, though it’s actually baked into WordPress Core. It’s a very powerful feature, as it allows you to target either a single menu item or a group of menu items with a single class. However, the option is hidden from the UI by default.