Remove “Category:”, “Tag:”, “Author:” from the_archive_title
I have the following code in my theme’s archive.php:
I have the following code in my theme’s archive.php:
How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like “for members only”. I know its quite easy to code using !is_user_logged_in() function but i don’t know how to code it because i am a newbie to WordPress. Care to tell me the file to put the code also.
I’m manually creating users programmatically, and I want to sign in the newly created user. WP makes it easy to access the hashed password, but not the plaintext version. Is there a way to use wp_signon() without the plaintext password?
I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin “Allow Multiple Accounts” which doesn’t work properly. I should figure out some other solution for that. I know that I could use something like adding +sometext to every email, so it will show different to WordPress. Do you have some other solution, that can be done here?
Is there a WP function to automatically get the correct URL of the current page?
Meaning if I just opened a single post, the function returns the same as get_permalink(), but if I’m on a paginated instance of a page (when paginating through the comments), the function returns the same as get_pagenum_link(get_query_var('paged')) would do.
Use case is somewhat simple – here goes:
This question here is asking the same question as I am, but there were no adequate answers nor a selected correct answer so I am asking again hoping if I ask in a more coherent manner I might get a response.
I’m trying to figure out how to hook into the /wp-admin/users.php manage page to
create custom columns for showing the number of posts users have for the custom post types on WPHonors.com.
Basically I want to achieve a glossary using custom post types and have some issues setting up rewrites the way I want them to be. I want it like that:
Here is my situation: I am trying to filter the content of the title column in my custom post type edit table but I can’t get it working.