Instafeed.js is a really cool jquery plugin that will allow you to integrate your instagram feed onto your website. It’s also very flexible to customise to your design, give it a try. Download instafeed.js and watch our simple tutorial below.
On my website, I have a caching plugin called WP Rocket, which is an awesome plugin, but one downside is that if you have dynamically generated content, it will be cached.
For example, on my website, I have a cool PHP widget that figures out the current time, and then displays a message based on the time. With caching, that plugin will no longer be dynamic because it will just show the result from the time that it was cached.
A client recently needed me to migrate a lot of posts and tags to WordPress from a different CMS.
After importing all of the tags and posts to WordPress, I noticed that If I went to the tags page, all of the tags were listed, but they were all showing as ‘0’ even though the tags were assigned to posts. This was specifically used for a custom post type and custom taxonomy.
If you’re setting up an online shop for a client, sometimes it’s good to mask that you’re using software like WooCommerce, just so it looks like a more custom job.
Just add this to your functions.php in your theme and rename where I have “Store Settings” to what ever you want!
I’ve just created a custom post type and custom taxonomy in WordPress.
The custom post type is “product” and the taxonomy is “metal_types“.
It’s all working well, but I want to be able to filter results based on the taxonomy in my WordPress admin page. As you have probably realised, WordPress does not natively add that functionality in, you need to do it.
Today I found a really cool and simple way to change your WordPress post archive to display how long ago the post was made as opposed to the date. It gives your visitors a very fast indication that the post is new so they don’t have to think twice about today’s date.
So, basically instead of the post saying “Posted 10/10/16” – it will say, “Posted 2 hours ago”, or “Posted 2 Days ago” etc.
Inserting a pipe between two menu items is simple with the use of pseudo css classes. It’s better to do it this way so you don’t have to manually add the pipe items in HTML.
This way, you can also remove the pipe from the far left or right of the menu.