thirdboxcar
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Shared Menu] "Source site" field blank for all other sitesGreat idea, I realized after I posted this why you would have it the other way, covering both cases sounds like it’d work perfectly. Thanks!
Forum: Plugins
In reply to: [Multisite Shared Menu] Menu does not display on target siteI believe I’ve found the issue. This plugin is listed as compatible with WordPress 3.0.1 and higher, yet it uses a function that does not exist until 3.9. Very frustrating!!
Please update your compatibility notes.
https://developer.wordpress.org/reference/hooks/pre_wp_nav_menu/ (see Changelog section at the bottom)
Forum: Plugins
In reply to: [Multisite Shared Menu] "Source site" field blank for all other sitesSo I made a change to your plugin which resolved the issue of the Source site blank fields:
In views > options-page.php, I edited line 33 as follows:
echo '>'.$blogTemp['domain'].'</option>';(Note that all of my sites have the same path and the domain mapping is managed elsewhere). I would imagine this might help some other users with unusual set-ups?
I’m going to open another thread about my remaining issue, which is that no menu pulls in.
Forum: Plugins
In reply to: [Multisite Shared Menu] "Source site" field blank for all other sitesNote that even when both Site #4 and Site #2 are using the same theme, I still have this issue.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] WordPress 3.9 RC1 and disappearing TinyMCEIgnore! Upgrading to ACF 4.3.6 (I was on 4.3.4) solved the missing TinyMCE issue for me.
As Creative Slice Member notes, though, there is no longer a way to view and edit the HTML.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] WordPress 3.9 RC1 and disappearing TinyMCEAlso having this issue, I’m hesitant to upgrade to the ACF 5 beta because of the add-ons I’m using. Any solutions?
Forum: Plugins
In reply to: [AJAX Thumbnail Rebuild] javascript error for me on 3.8Same for me.
Forum: Plugins
In reply to: [Term Menu Order] Quick Edit and Admin Columns ProblemThanks so much for the quick help, Ralphonz! Hopefully this can be rolled in to the next plugin update.
Forum: Plugins
In reply to: [Term Menu Order] Quick Edit and Admin Columns ProblemThanks for that, ralphonz! It solves the double Order field bug, but I’m still seeing the second part of your issue, namely, the field doesn’t display a currently set value for me even after adding your edits.
Note: I’ve also made some changes to my Categories, mainly renaming it and sharing it between regular Posts and some other custom post types, and this issue is happening for me.
@angelo_nwl – Thanks, I ended up making my own custom scope and setting the Events page to only display “Upcoming,” while using the Today scope above it for Current events. Works beautifully.
The custom scope SQL for my Upcoming, if anyone’s curious, is:
event_start_date > CAST('$start_date' AS DATE)Marcus: I actually found that is_current, I was looking through the code! I agree, it would have been nice to discover earlier in the documentation 🙂
The problem is I can’t get CONTENT to display only future events when I set it to “future” in the Event List settings. The “future” scope includes current events. So, using a shortcode to call Current events above the main listing (set to Future) means I see events happening now twice.
Here’s my code:
<strong>Now Showing</strong> [events_list scope="today"] <strong>Upcoming Events</strong> CONTENTSThis displays:
Now Showing
Event A
Upcoming Events
Event A
Event BCONTENTS list is set to scope=”future” in the dropdown on Events > Settings > Pages > Event List. However, I’m also using conditional statements in the display template:
{is_future} <Extra image here/> {/is_future}This displays:
Now Showing
Event A
Upcoming Events
Event A
Event B <Extra image here/>To put it clearly: the {is_future} conditional IGNORES currently active events, but scope=”future” includes them. This seems glaringly inconsistent to me.
I would like this plugin to display:
Now Showing
Event A
Upcoming Events
Event B <Extra image here/>There’s no setting for “current” or “today” in the Event List settings, even though they exist elsewhere, so I can’t reverse the above shortcode/CONTENT settings. Not that I could, because the shortcode scope=”future” also includes current events.
angelo_nwl: Yes, if you read my original post you’ll see I set my settings, they just don’t seem to work how I’d like/expect them to. I’m not concerned with past events, nor recurring events. I simply would like to split my events page into two groups: ones happening now, and ones that haven’t started yet. The “Future” setting includes current events in the settings, but does not in the conditional statements.
I mostly brough this up to point out the inconsistencies in the use of the word “future” throughout the plugin, so it could be fixed and not confuse others like me. Also, it would be great if the Event List scope dropdown were expanded to include all the scopes available in the shortcode.
I take it back. I CANNOT figure out the pattern of when it’ll update and when it won’t.
Right now I have a test post set up. Adding an 8th group sometimes sticks, sometimes doesn’t, sometimes reverts to what the fields contained a few “Update” presses ago, sometimes lets me remove the 8th group, sometimes doesn’t.
It does seem to be tied to that 8th field group, though. When I have 7 or less, I’m able to edit everything consistently.
What the heck?
Forum: Fixing WordPress
In reply to: Can't drag and drop menu items with 3.1Installing the Google Libraries plugin took care of the issue! Just in case someone else is running into the same thing.
It works! The image is temporarily warped (square in shape when the image isn’t actually square), but looks good once I save, close, and reopen the menu item.
On that note (sorry for the duplicate posts), I’d also love the 23px padding-left and the background-position styles removed.
I modified your plugin to only enter CSS styles for those menus WITH images (instead of every menu, regardless of whether they had an image associated, which is needless mark-up). I’m not expert enough to figure out how to insert the CSS into the head as opposed to the footer, but that would really be my ideal!
function get_custom_menu_image_css($menuItems, $args){ //print_r($menuItems); $this->styles[] = '<style>'; $custom_options = (get_option($this->prefix)); foreach ($menuItems as $key => $val ) { $menuItems[$key]->classes = array('menu_item_'.$val->ID); $image_url = ($custom_options[$val->ID]['url_type'] != 'lib' ? $custom_options[$val->ID]['url'] : $custom_options[$val->ID]['media_lib']); if($image_url != '') { $this->styles[] = ' li.menu-item.menu_item_'.$val->ID.' { background-image: url('.$image_url.'); } '; } } $this->styles[] = '</style>'; return $menuItems; }