classicridge
Forum Replies Created
-
Awesome, thanks again!
I am still working with MotoPress on a solution. A temporary fix is to comment out the line I mentioned above – line 55 of /plugins/mp-timetable/classes/class-hooks.php
Did you also experience the same problem? The missing Memberships Table on the user account page?
Email sent, thanks
I have narrowed it down to this filter, on line 55 of
/plugins/mp-timetable/classes/class-hooks.php, see line of code below:// to display events with other posts on author page add_filter( 'pre_get_posts', array( Post::get_instance(), 'pre_get_posts' ), 9 );
I commented out the add_filter line and the Memberships table appears, and the Timetable seems to be unaffected.
Is there a better way to remove the pre_get_posts filter without hacking the plugin file? I tried remove_filter but must be doing it wrong…
Forum: Themes and Templates
In reply to: Child menu orientationI just got this working on a site using the following CSS in a child theme:
.main-navigation li:hover > ul, .main-navigation li.focus > ul { left: 0; right: auto; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { right: auto; left: 100%; }
Hope this helps someone.
Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileI’m seeing javascript errors in Firebug, and it looks like you’ve loaded jquery twice. Can you remove this one?
<script type="text/javascript" src='https://adn.ebay.com/files/js/min/jquery-1.6.2-min.js'></script>
That is in the ebay text widget. There might be more JS errors to fix, I’d suggest getting Firebug https://getfirebug.com/ or use Developer Tools in Chrome, and view the Console.
I bet once all those are fixed the mobile menu will work again.
Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileCan you disable the plugin that is caching and combining the JS files? Is it W3 Total Cache?
Forum: Themes and Templates
In reply to: Twenty Sixteen MENU does not work on mobileI just built a site using Twentysixteen child theme and in the process also broke and subsequently fixed the menu on mobile. Here is what I had to fix:
1. The header.php code cannot be rearranged, the menu and menu buttons have to stay inside #masthead. I did end up rearranging it, and then loading my custom version of functions.js using functions.php (see code below)
2. twentysixteen/js/functions.js must be included because it gives the menu its mobile functionality.
I quickly checked trybackyardfarming.com and looked for the code in functions.js, and its seems like it might be missing. It was tricky since that site has the JS files combined.
Here is my functions.php if that helps anyone:
<?php /** * Child theme functions.php */ add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { // adds parent & child style.css files wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') ); // adds child functions.js file and screenReaderText wp_enqueue_script( 'twentysixteen-child-script', get_stylesheet_directory_uri() . '/js/functions.js', array( 'jquery' ), '20160203', true ); wp_localize_script( 'twentysixteen-child-script', 'screenReaderText', array( 'expand' => __( 'expand child menu', 'twentysixteen-child' ), 'collapse' => __( 'collapse child menu', 'twentysixteen-child' ), ) ); } add_action( 'wp_print_scripts', 'theme_dequeue_scripts' ); function theme_dequeue_scripts() { // remove parent functions.js file and screenReaderText wp_dequeue_script( 'twentysixteen-script' ); wp_deregister_script( 'twentysixteen-script' ); }
Hope this helps someone!
Forum: Plugins
In reply to: [Social Share Button] Total Share 0000 being posted in Excerpts/FacebookThe side affect is that the sharecount completely disappeared, which is desirable in my case. A better fix is in order…
Forum: Plugins
In reply to: [Social Share Button] Total Share 0000 being posted in Excerpts/FacebookFYI I was able to fix this by hacking the plugin file: /plugins/social-share-button/themes/icons-body.php
These are lines 72 to 79, note the line $ssb_count[$icon] = ”;
if(empty($ssb_post_sites[$icon])) { $ssb_count[$icon] = ''; } else { $ssb_count[$icon] = $ssb_post_sites[$icon]; }
Forum: Plugins
In reply to: [Social Share Button] Total Share 0000 being posted in Excerpts/FacebookI’m having the same issue.
Forum: Themes and Templates
In reply to: [Attorney] How to add images to sliderI just added a “Gallery” to the page content, and switched the Page Template to use one of the Slider templates, and it worked – no coding needed.