I want to make a PDF available for viewers to download from my WordPress site. How can I do this?

PDF could be easily made available for viewers by using any plugin in the WordPress site, Make web better provides WP Ultimate PDF Generatorwhich can generate PDF from all types of WordPress post, not only post you can also download PDF of all products and pages.
This plugin contains all post details. It can export all the post details which are mention in the Post.

Continue Reading →

How do you set a category for a page and how do you then get the category of a page in WordPress for the query loop in the template file (php)?

First, how do you set a category for a page, got to appearance/menus, add the category there.

How do you do that in code, well that is a litle bit more complicated, and its depend if its a custom post or normal post.

In both cases you should create a template first, like this:

WordPress › Page Templates

After that to get the post use this:

Function Reference/wp get recent posts

If ...

Continue Reading →