I’m trying to find the best way to return errors to a page once a […]
Tag: init
WordPress: Why can’t I use is_user_logged_in() after initializing main class on init?
I have a main class for my plugin. It is being instantiated on the init […]
add_feed and flush_rewrite_rules
There seems to be quite a controversial opinion on the WordPress flush_rewrite_rules() function. According to […]
Form Shortcode not saving data to WP database
I’m developing a plugin that creates a custom table upon plugin activation. The plugin allows […]
How to setcookie if is_page(‘page’) ? should I use add_action(‘init’) or there is another action?
I want to setcookie if is_page(‘arabic’) or is_page(‘english’) then redirect to home_url() only if the […]
Problem with is_page & wp_redirect
I use cookies to determine which menu I should use on my website. This is […]
Load ajax if is_home()
I want to show some simple things on homepage with ajax. The problem is I […]
WordPress Theme activation hook?
I know the many tricks to see if said theme is activated, I have scoured […]
Stop WordPress Entirely and Run My Own Code
I have a site that must be deployed in a WP Multisite environment but none […]
Using get_terms for custom taxonomy in functions.php
I`m trying to retrieve the names of taxonomy items and include them into a theme […]
No More Posts Available.
No more pages to load.