how to add text to posts from tags

There is no plugin for that… at least one plugin 🙂 Create custom fileds for your custom text. Install ACF plugin (advanced custom fields) from wordpress.org. Now… create a field group with ACF and then create custom fileds inside that group for your custom text 1 and custom text 2. (Don’t forget to assign field … Read more

404 error when I acess the second page of post-type

For modifying the main query, I think it is best to take advantage of the pre_get_posts action. When using pre_get_posts the $query variable is passed “by reference” which means we can directly manipulate the $query object with the shortcut functions such as set_query_var. Remove the query code from your taxonomy template, and try the following … Read more

Custom order for Mysql array

At first glance, I would think your query isn’t correct. Are you echoing out the variables to make sure they are correct? If you are setting ‘post_per_page’ => 4 and you are getting 5 posts, then something seems a bit off. Where it is a number, I believe you can leave off the quotes around … Read more