In my theme i will use the WP_Filesystem to write a file to for example: […]
Tag: theme-development
Enqueue a stylesheet for login page and make it appear in head element
I try to style the login page in my theme. Very simple: add_action( ‘login_enqueue_scripts’, function() […]
WordPress 500 Internal server error when activating custom theme
Whenever I try to activate my custom built theme on the clients server, the website […]
Do not display post images on front page
I have decided that for all pages where multiple posts are shown (e.g. front, category, […]
Is it possible to get a theme customizer setting from wp.customize using jquery?
I am wondering if it is possible to directly interop with the wp.customize api to […]
Assign single template to multiple custom post types?
I have a number of custom post types that I would like to display with […]
How to allow admins to create a sidebar from the admin
I’m creating a WordPress theme and I’ve noticed that a lot of premium themes allow […]
WP_LOCALIZE_SCRIPT doesn’t work
I am creating AJAX loading and need to use WP_LOCALIZE_SCRIPT but cannot make it work. […]
Grab the first paragraph of each post
I have some code that uses preg_match to grab the first paragraph, and then spit […]
How to access options of Redux framework in front end
I’m creating a wordpress theme in which I’m using the Redux Framework for creating the […]
No More Posts Available.
No more pages to load.