Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
It seems like your server time is not correctly set. Please correct your server time, you may want to restart your web server after fixing the time.
It seems like your server time is not correctly set. Please correct your server time, you may want to restart your web server after fixing the time.
The only time I’ve seen this happen is with a theme using JavaScript that is conflicting with the JavaScript in the WordPress administration area. If this is what is happening to you then its a poorly-coded theme and you should change to a different theme. If this is a premium theme you should contact the … Read more
not 100% sure what you’re after but this may help … i did a site one time and one special set of “pages” on the site were sort of sectionalised ( eg each page consisted of a title and about 4 other “fields” ) …. the way i did it in the back end was … Read more
You can put this in your functions.php : function remove_menu_items() { global $menu; global $user_ID; if( $user_ID ) : /* Dashboard only acccess */ if( current_user_can( ‘dashboardvisitors’ ) ) : $restricted = array( __(‘Posts’), __(‘Pages’), __(‘Links’), [etc…] ); endif; endif; end ( $menu ); while ( prev( $menu ) ) : $value = explode( ‘ … Read more
This will remove the draggable functionality from each widget: jQuery(‘.widget.ui-draggable’).draggable(‘destroy’) You have find a good way to inject this into your code, either through wp_enqueue_script() or echo it inline on the Widget page. To target a specific Widget you would have to do something along these lines: jQuery(‘.widget.ui-draggable’).each(function() { if (jQuery(this).find(‘h4’).text() == ‘Archives’) jQuery(this).draggable(‘destroy’); } … Read more
Jonnny, I would highly recommend checking out Edit Flow. It does add a notification to the dashboard about Pending posts, as well as a host of other things. The plugin is aimed at organizing a whole team of content creators. It’s well described at editflow.org.
I’m assuming you’ve used the method in the question linked to and are using the restrict_manage_posts filter. add_action( ‘restrict_manage_posts’, ‘my_search_box’ ); function my_search_box() { // only add search box on desired custom post_type listings global $typenow; if ($typenow == ‘product’) { //On custom post type ‘product’ admin page. //Add code for search box here } … Read more
Try this Force html edit plug-in.
It all comes down to this. http://core.trac.wordpress.org/ticket/11889 Behind the scenes, WordPress does generate a place-holder post for your next one! And for that special post, it sets the post_status to a special one, ‘auto-draft’. Basically, the culprit is the post generated by WordPress without your knowledge. Once you know this fact, it is easy to … Read more
There’s get_the_author_meta() for such a task. (get_* functions normally don’t echo/print the output – hence the name). // Both values are *optional* get_the_author_meta( $field, $user_id ); Normally it’s only meant to be used inside a loop to get the data of the posts author, therefore it internally uses global $authordata;. But, you can also throw … Read more