bwedmore
Forum Replies Created
-
Forum: Plugins
In reply to: [Popular Brand Icons - Simple Icons] Threads iconI asked for this a few days ago on Github and Alexandre responded saying it was added. While the threads icon is now on simpleicons.org, it is not appearing in the search for the plugin inside WordPress, even if simply trying the #threads# shortcode.
How do we get this working in the WordPress plugin? Is there a plugin cache that needs to be refreshed?
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledFYI, you have a PHP error on line 379 of tab-slide.php:
Notice: Undefined variable: params in /nfs/c07/h04/mnt/178549/domains/mywebsite.com/html/wp-content/plugins/tab-slide/tab-slide.php on line 379
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledI was able to make some code changes which helped me.
#1 – Changed line 172 in /tab-slide/js/tab_slide.js to:
if (settings.showing == '0') {
Now in Firefox the tab is hidden on page load when ‘Start in open tab slide view’ is unchecked. Confirmed working in other browsers too.
#4 – For Window URL issues using full URL, I changed lines 339-344 to comment out code when a full URL is detected and to determine include path based on existence of beginning slash:
if (substr($url, 0, 7) == 'https://') { //$url = substr($url, strlen(get_site_url())); } else if ( substr($url, 0, 1) != '/' ) { $url = ABSPATH . '/' . $url; } else { $url = TAB_SLIDE_ROOT . $url; }
Please note that not all web hosting companies allow full URLs for PHP includes. Those that do may have it disabled by default and require adding directives to a local php.ini file.
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledOk, I installed new v2.0.1 you provided in the link and here’s what I have found:
#1 – No javascript errors. Per settings, tab is not being displayed on open in Chrome and IE, but is still is open on load in Firefox 28.0 – I have deleted cache and cookies and still tab displays open on page load.
#2 – appears fixed, thank you.
#4 – Custom setting is not working. When using full URL per your suggestion, I see the following PHP errors (modified):
Warning: include(/wp-content/themes/mytemplate/Banner.php) [function.include]: failed to open stream: No such file or directory in /nfs/c07/h04/mnt/178549/domains/xyz.com/html/wp-content/plugins/tab-slide/tab-slide.php on line 352
Warning: include() [function.include]: Failed opening ‘/wp-content/themes/mytemplate/Banner.php’ for inclusion (include_path=’.:/usr/local/php-5.3.27/share/pear’) in /nfs/c07/h04/mnt/178549/domains/xyz.com/html/wp-content/plugins/tab-slide/tab-slide.php on line 352
The file Banner.php exists, the path is correct, and ownership and permissions are same as all other files in the template directory. I tested with other files in same directory and all produce the same error.
I did some testing with the Picture template and it appears that the include is not taking into consideration the page’s existing permalink structure. If the current page URL has a permalink structure that include categories (i.e. xyz.com/category1/) then the include path is broken. I have not delved into your code, but perhaps this will help. I don’t recall having this problem in the original version I had installed prior to v2.0.0
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledI uploaded v2.0.1 – a few observations:
1. Page still loads with tab open (no close image) even when “Start in open tab slide view” is disabled. However, when enabled and auto-close enabled it does close (this is progress from v2.0.0)
2. I tested by disabling installed plugins. Tab content will display when I disable WordPress SEO plugin by Yoast (Joost de Valk) but still experiencing issue above (#1).
3. Tested different templates with same results.
4. PHP include error if you try using a template based in your theme directory. Only works when template is placed in the template directory for your plugin.
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledThe plugin directory is named properly and the workaround did not work. Custom URL does not work either – I tried both the relative path to the custom template in my theme directory (i.e. wp-content/themes/mytheme/…) and the full URL to the template in my theme directory. All paths have been checked for validity. And it still does not address the tab showing on load.