PatJ
Forum Replies Created
-
@caseproof @dmbosman That’s the one. Only started with the update to 3.1.0. Maybe splash screen isn’t the best description but I can’t think of anything else polite to call it.
Forum: Plugins
In reply to: [Restrict Categories] Guttenberg Bug Not Fixed… :-(I’ve had to use Disable Gutenberg plugin but I would really like it fixed.
Forum: Plugins
In reply to: [Restrict Categories] Categories not hiddenI find this plugin only works if Gutenberg is disabled so I had to add the “Disable Gutenberg” plugin and set it to disable for the user role that I want to restrict categories for.
I want the plugin author to fix it to work with Gutenberg blocks.Forum: Plugins
In reply to: [Restrict Categories] Guttenberg Bug Not Fixed… :-(I’ve just tried this in WordPress 5.5 with plugin version 2.6.4 and find the same problem still exists. And if the user accidentally does put a category outside their own, they can’t then see the post to amend it. Please can we have an urgent fix?
Well thanks to all the above, I’ve set up an attendeeslist.php in my theme subfolders and it works, outputting in this format
Jo Bloggs – 1 Special Ticket
Fred Bloggs – 2 Members Ticket
with the following code.<?php //********** modified original to show ticket types and numbers ***************** /* @var $EM_Event EM_Event */ $people = array(); $EM_Bookings = $EM_Event->get_bookings(); if( count($EM_Bookings->bookings) > 0 ){ ?> <ul class="event-attendees"> <?php foreach( $EM_Bookings as $EM_Booking){ /* @var $EM_Booking EM_Booking */ if($EM_Booking->booking_status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){ $EM_Tickets_Bookings = $EM_Booking->get_tickets_bookings(); foreach( $EM_Tickets_Bookings->tickets_bookings as $EM_Ticket_Booking ){ //Display ticket info if( !empty($EM_Ticket_Booking->ticket_id) ){ $val = $EM_Ticket_Booking->get_ticket()->ticket_name."<br>"; } } $people[] = $EM_Booking->get_person()->ID; // echo '<li>'. $EM_Booking->get_person()->get_name() .'</li>'; echo '<li>'. $EM_Booking->get_person()->get_name() . ' - ' . $EM_Booking->get_spaces() . ' ' . $val .'</li>'; }elseif($EM_Booking->booking_status == 1 && $EM_Booking->is_no_user() ){ // echo '<li>'. $EM_Booking->get_person()->get_name() .'</li>'; echo '<li>'. $EM_Booking->get_person()->get_name() . ' - ' . $EM_Booking->get_spaces() . ' ' . $val . '</li>'; } } ?> </ul> <?php }Thanks to all who contributed.
Thanks. I’ll have a look. I’ve written some plugins and child themes but I was hoping to get away with something out of the box.
I too have this issue with NextGen killing the visual editor. The code you provide is only a temporary hack. Imagely – you need to get on and FIX IT properly or lose supporters.
Thanks – as far as I can see it’s just on the WAMP environment. Live is UNIX so uses /
Scripts to delete are all very well but they don’t reset the autoincrement id field so eventually it will crash.
Any sign of a fix for this yet?
I’m still getting this error too. Upgraded my WAMP development system on my local pc to WordPress 3.8 and NextGen 2.0.40 and one click of the gallery generated 20 wp_options entries!
Have disabled the plugin on my live site using NextGen and run the sql to delete the records from wp_options. No galleries for now, but if they don’t fix it soon we’ll have to change the image software.
Thankfully we use Coppermine on the biggest site I run!Thanks for that tweak – it’s made the difference between me using the plugin and rejecting it!
Forum: Themes and Templates
In reply to: How To Identify Changes To TwentyEleven Theme In Latest UpdateMost people run a development copy of their site on their local pc and upgrade that first and test everything before upgrading the live site.
I use WordPress solely for hobby sites but I use a WAMP server (Easyphp) on my XP machine and have half a dozen sites running with it for development, testing, backups and also my local unpublished blog diary documenting our projects.Forum: Fixing WordPress
In reply to: Set category to a custom post type automaticallyKasper Isager:
I think you need to register your post type WITH a taxonomy
use
'taxonomies' => array( 'category'),
in your array of arguments to the register_post_type function.
Then you can use these snippets as there has to be a taxonomy to set.If you don’t want the categories to show up in edit post use
function xxx_remove_metaboxes() { remove_meta_box( 'categorydiv', 'characters', 'normal' ); } add_action('do_meta_boxes', 'xxx_remove_metaboxes');The ‘normal’ may need to be ‘side’ instead.
Forum: Hacks
In reply to: action save_post not firing on create postSorted – save_post was firing but the $post variable is not set so a null string was being output. Taking out the bloat and going back to basics sorted it.