Searching a site with static pages
-
On my first site (as opposed to a blog) I add posts occasionally & I gather only posts have categories &/or tags? Is that correct?
I’m creating a second site which won’t have posts added so how can people search the site for a particular subject?
(I’m guessing the search box, but really want to know if adding categories &/or tags to a static page is possible?)
Thank you : )
the second site is set to private as it has no content yet. However the other one is published and is same theme etc.the first site is envirowatchrangitikei.wordpress.com
-
Hi there. Tags and categories apply only to posts, yes. There is no way to assign tags or categories to static pages.
The only way to search for content inside pages is the search widget, if your theme does not already have a search box integrated in the header: https://en.support.wordpress.com/widgets/search-widget/
-
-
May I add to what kokkieh posted please?
The WordPress.com search engine indexes post, pages, and comments content (body text). Unless entered as text in those contents, blog name, post titles, and post/comment author names are not indexed. http://en.support.wordpress.com/wordpresscom-search/
You have static pages in your menu and seem to be unaware that they will not automatically update. When we publish a post on WordPress software the software automatically creates the same entry in the Archives, and on the dynamic (automatically updating) Categories and Tags pages in accord with the Categories and Tags we assign to that post.
So when we create custom menu and add the dynamic (automatically updating) category pages to it we create the appearance only (not the reality) of posting to more than one page.
You need to be aware that:
1. There are differences between posts and pages described here
https://en.support.wordpress.com/post-vs-page/2. There are differences between static pages we bloggers create https://en.support.wordpress.com/pages/ that will not automatically update, and dynamic category pages created by the software when you publish a post which will automatically update https://en.support.wordpress.com/category-pages/.
3. We organize posts by category assignment prior to publication. http://en.support.wordpress.com/posts/categories/ and when we publish posts the dynamic category pages they automatically display on are determined by the categories we assign to them.
So the process is:
Assign Categories to your Posts. https://en.support.wordpress.com/posts/categories/
Create a custom menu https://en.support.wordpress.com/menus/#1-create-a-custom-menu
Add the dynamic category page links into the menu https://en.support.wordpress.com/menus/view-all/#adding-category-pages -
thank you timethief. I will digest this in the next few days & would like to come back if I have more questions. In brief I think you’ve explained what I suspected at the start re updating could be done automatically but I didn’t know how. What I did was update pages manually. When I create a new post (I add categories & tags) I just link it manually to the page on the menu that it is relevant to, having created a ‘news & updates’ list on the page.
A question now is, is the menu I’ve created called a custom menu? (ie all static pages).
For the second site I don’t intend to be adding new posts as such. I expect I will add new content onto the existing pages. I’m wondering, if I add say the first paragraph or two of long content, and link it elsewhere to continue, do you link it to another page or to a post/page? Hope this makes sense.
- The topic ‘Searching a site with static pages’ is closed to new replies.