Tag Info

New answers tagged

0

It is enabled by default. Check that WordPress is sending emails at all, you might have problem with the SMTP settings. Where is your website hosted? Did you check the spam?...


0

You'd probably be better served by creating a custom taxonomy to accompany your custom post type. That way you can manage terms separate from the built-in categories taxonomy. // Register Custom Taxonomy function wpse_168762_create_gallery_taxonomy() { $labels = array( 'name' => _x( 'Gallery Categories', 'Taxonomy ...


3

You can try the following: /** * Post Update Locker For Authors * If an administrator has updated the post, then lock it for author updates. * @see http://wordpress.stackexchange.com/a/168578/26350 */ add_action( 'pre_post_update', function( $post_ID, $data ) { // Target only authors: if( ! current_user_can( 'edit_post' ) || current_user_can( ...


1

The 'problem' here is that wordpress converts 'enters' into paragraphs (< p >). Trailing and leading paragraphs result in large white spaces messing up your design. The wp (wysiwyg) editor is setup pretty spaciously and this often leads a user into believing the content is clean. Check this very simple plugin, Space Remover, it removes these unintended ...


0

I just got into the database after trying this myself, so beware of inaccuracies. I'm also assuming the database-prefix is wp_. What I found was that a refrence to the menu itself is stored in both wp_termsand wp_term_taxonomy. The one in term_taxonomyalso stores the number of elements in the menu. The relationships between menu items and posts are ...


-1

I Resolve this.. looks like the force upgrade change the option_value of wp_user_role under wp_option. so i replace it with the fresh value.. thank you


0

Using add_menu_page and add_submenu_page is generally used for adding pages to the dashboard to serve a specific purpose, such as accessing the options page for a plugin settings. Using them is unnecessary, however, if your intentions are to add/edit posts/tags/categories to a custom post type (CPT). When a CPT is correctly registered, with it's ...


0

How have you added this custom post type? Did you use a plugin or code it into your functions.php? If you coded it, you can add 'show_in_nav_menus' => true, to your $args. You can read about it here. http://codex.wordpress.org/Function_Reference/register_post_type


1

As @shanebp says, it's a WP issue. Using PhpMyAdmin, or any other SQL-interface, use this query: UPDATE wp_users SET user_login = "new_user_login", user_nicename = "new_user_nicename" WHERE user_login = "current_login_name"; and replace the strings with your username and nicename-info. Edit: The user_nicename is optional, but could be useful, as ...


2

This is a WP issue, not a BP issue. User names cannot be changed via WP. You could create another administrator account, using the user name you want, and then delete the 'admin' user. Or you could use a database tool like phpmyadmin to access the users table. Find the row for 'admin' and change the name there.


0

I do not have enough reputation to comment so i just say what i would try if i'm in your situation: have you tried "Lost your password?" which will reset your password to your registered email. phpmyadmin user table reset the password but in hashed value. if still can not just deploy a clean wordpress fast enough, and migrate your files again on it, ...


0

Have you tried something simple to ensure it is actually rewriting? Something like... RewriteEngine On RewriteRule ^.*$ verified.php Then create a verified.php page... <?php print 'mod_rewrite works!'; ?> Now you should hit that page no matter where you try to go on the site. If you don't mod_rewrite isn't working. You can also turn on ...


0

Are you sure your install is running on an Apache web server? If not, you may be running on something like NGINX which does its configuration of permalinks in the config file and does not use an htaccess file.


0

Theme uses custom meta boxes. If you go this path, /wp-content/themes/bridge/framework/admin/meta-boxes you will find folders. There is a map.php file in this folders. You can duplicate this folders and rename if you want to use for your CPT's. Theme uses own metabox class QodeMetaBox when you duplicate files you need to change this code (for ex. i use ...


1

I am not sure I completely follow your second example. You can use get_edit_post_link() template tag, which will output the link to admin side for the current post (only for users who can edit the post). If you just want pretty link for that there is no native way, but it looks similar to what Slash Edit plugin does.


1

I recommend installing this https://github.com/johnbillion/query-monitor and looking at the following: Memory usage, HTTP requests, AJAX and slow queries. It could be your revisions, a plugin's AJAX, a bad query, etc. You will be able to see if you need to add more RAM to your server which usually solves a lot of slow loading admin issues, especially if ...


3

jQuery / JavaScript in the footer One thing you can do is to move jQuery to the footer blog post. It's per default not needed in the header. You will have check if everything still works tough, as I normally just do that for themes: <?php /* Plugin Name: Move jQuery to the footer */ function( 'admin_enqueue_scripts', function( $hook ) { ...



Top 50 recent answers are included