MWM
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Members Membership Plugin] WP-Members 2.9.9.1 update patch for 2.9.9I’m on WP 4.2 and WP-Members 2.9.9.1 as the only activated plugin, and admin notification + validation doesn’t work.
Forum: Fixing WordPress
In reply to: Password Protected page doesn't workHi jhwhite,
Have you found a solution? I’m having the same problem.
Forum: Plugins
In reply to: [WP Help] List help topics based on custom roleI had the same problem and used this workaround (not ideal but good enougth for now) :
– Create your help files with a hierarchical structure, for example :
– Toplevel help page : “Users help”
— Child help page : “User help page 1”
— Child help page : User help page 2
— Child help page : User help page 3– Toplevel help page : “Admin help”
— Child help page : “Admin help page 1”
— Child help page : Admin help page 2
— Child help page : Admin help page 3And so on..
Now you can hide / show the different blocks by using CSS in the admin. An easy way is to use the Adminimze plugin and create a custom global rule for each top level page ID, then hiding or showing it depending on user roles.
You can also easily create your own plugin to add role dependent CSS rules to the admin.
Forum: Plugins
In reply to: [Adminimize] Adminimize interfering with a scriptThanks, I will use wp_ajax which seems to be the better way.
Forum: Plugins
In reply to: [Search Everything] Results for taxonomies not workingHi Joshua, ha! That’s exactly what I did just after posting this question. Relevanssi is great.
Forum: Plugins
In reply to: [Search Everything] Results for taxonomies not workingI’m having the same issue. Eventhough “Search in custom taxonomies” is set to “yes”, I don’t get any results. Did anybody find a way to fix this ?
Forum: Plugins
In reply to: [WP Help] Multiple links problemI have exactly the same problem.
On the synced site, the page display breaks precisely when the first link starts.
Here’s an example : https://imgur.com/jxJyE0L
Thanks,
This solved it :
function mwm_posts2posts_show_published_only( $args, $ctype, $post_id ) { $args['post_status'] = 'publish'; return $args; } add_filter( 'p2p_connectable_args', 'mwm_posts2posts_show_published_only', 10, 3 );
Indeed, the Post Type Switcher plugin has caused many troubles..
But still, why does P2P show posts other than just “published” ? Is there a way to hide them ?
Forum: Fixing WordPress
In reply to: customize the admin bar?DerekMX271, modifying core WP files to do some simple tweaking is generally a bad idea (some discussion on the matter here). Any change you do on those files will be overwritten on the next WP update you do. Your tweaks should be done either in functions.php inside your theme files, or with help of a plugin.
To change the amdin logo you can simply create a plugin that loads additional CSS styles, like this :
<?php /* Plugin Name: Custom admin styles Plugin URI: www.mywebsite.com Description: Custom CSS styles for admin interface. Author: John Doe Version: 0.1 Author URI: www.johndoe.com */ function add_custom_admin_styles() { echo '<style>#header-logo { background-image: url('path/to/my/image.png')!important; }</style>'; } add_action('admin_head', 'add_custom_admin_styles'); ?>
You can then add / modify any styles of the WP admin.
Great, thanks !
Yes, on the post list you can see hierarchy with a leading “–” in front of post names.
Also I use the Page Tree View Plugin so I can have a clear view of the whole site, a very big deal when you have 200+ pages.
It’s a problem in the Menu editor, where sometimes you need to add several pages with the same name before you can know which is which (on rollover of the “original” link)
So there’s a trick for each situation, except for P2P in my case.
I’m sorry, it had nothing to do with WP Maintenance mode. Everything fine now.
Thanks Marco, that worked.
Copernicus, you can also hide the WP editor with some CSS. In the following example I’m hiding the editor on the “projects” custom post type admin pages :
function add_custom_admin_styles() { /* Hide editor for "projects" custom post type*/ global $post; switch ( $post->post_type ) { case "projects" : echo '<style type="text/css">#postdivrich{display:none!important;}</style>'; break; } } add_action('admin_head', 'add_custom_admin_styles');
It’s not the cleanest fix, but it may be enough if you find nothing else that works.