Tag Info

New answers tagged

0

I think you can achieve that by removing the menu page and adding it to another position. I don't know the genesis framework but I'm not sure if "remove_theme_support" will deactivate more than just the admin menu link. Take a look at this function: remove_menu_page( 'genesis-admin-menu' ); Then just add it to the desired location. I think you have to ...


0

You can send admin emails to multiple users using following plugin; CC Admin Emails What it does is simply allow you to enter comma seperated emails from backend as CC to the headers of the emails being send to admin.


0

Create customizer.js file and put the following script in the customizer.js file (function( $ ) { "use strict"; wp.customize( 'tcx_link_color', function( value ) { value.bind( function( to ) { $( 'a' ).css( 'color', to ); } ); }); })( jQuery ); And enqueue your customizer.js file by using wp_enqueue_script in ...


0

Try this: update_option( 'admin_email', 'me1@example.com, me2@example.com' ); Note that the value is a string; open and close quotes only!


-1

do you have a hand coded theme? A while ago I did a theme for a friend and insted of any plugins, costum post types, etc. I created a page manually and made a sign up form. This is how my form was set up: START OF PHP CODE! $to = 'email@yourdomain.com'; $subject = 'Your desired subject'; $option1= $_POST['option1']; $option2= $_POST['option2']; $option3= ...


3

You would have to change the code of the app, I have checked. It would be possible but hard to make your own version of the app that includes the added admin menus. If you would like to get that functionality added you should post on the forums as @RyanLoremIpsum said. But you may until then if it really bothers you want to stick to only using the mobile ...


0

Here is what I do to sort my custom post type by custom taxonomy in the admin. I have a custom post type called plugin_filter and a custom taxonomy assigned to it called filter_group. I add the following filter to my plugin to make the field sortable. add_filter("manage_edit-plugin_filter_sortable_columns", 'plugin_filter_sort'); function ...


2

I was able to resolve both defaulting to the Visual editor and hiding the tabs with the following code. Dumped the following in plugin file: add_filter( 'wp_default_editor', array($this, 'default_editor') ); Hide the tabs with this javascript: $('.wp-editor-tabs').remove(); Or hide it with CSS: .wp-editor-tabs{display:none;}


2

Of course you can specify only the items you want to remove. Have a look in the code below: /wordpress/wp-content/plugins/your_plugin/your_plugin.php : add_action('admin_init', 'nwcm_admin_init'); function nwcm_admin_init() { // Remove unnecessary menus $menus_to_remove = array( // menu items you want to remove 'menu_item_1', ...


1

That's why the last line of the get_admin_url contains the line: return apply_filters( 'admin_url', $url, $path, $blog_id ); Any valid modification of the admin URL will be via that filter, so get_admin_url is the correct function to use in all cases.


1

Following plugin can help you better and quick : https://wordpress.org/plugins/user-role-editor/


2

WordPress doesn't have built-in features for a site that is served in multiple languages. Yes WordPress has features for translating the UI labels into different languages, but not for the actual content. You are going to need to use a plugin that basically keeps multiple versions of each Post for each language and has means for the user to select the ...



Top 50 recent answers are included