zoranc
Forum Replies Created
-
Here’s a quickfix for the
is_404
notices if you want to keep the wordfence plugin running but can’t turn off the notices for whatever reason(do try to turn the notices off).In the meantime, you can suppress these two
is_404
notices and keep them from displaying, using these instructions, until you manage to turn the notices off alltogether, or the wordfence team issues the official update fixing these issuesLog in to your FTP and edit the following two files:
1.wp-content/plugins/wordfence/lib/wordfenceClass.php:
line 270
changeif( empty($wfFunc) && is_404() ){
to
if( empty($wfFunc) && @is_404() ){
and
2.wp-content/plugins/wordfence/lib/wfLog.php:
line 392:
change
(is_404() ? 1 : 0),
to
(@is_404() ? 1 : 0),
Forum: Plugins
In reply to: [TAB SLIDE] iframe not workingDoes this still happen with the new v2.0.1 update?
Also try including the same iframe somewhere else on your website(like a regular post or a page). do you experience the same issue or can you see the iframe properly?
<iframe class="tab_slide_iframe" src="https://the-full-url-to-content-to be-displayed-in-the-iframe" style="width:300px;height:relative;"></iframe>
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledhey bwedmore,
Thanks for taking the time to look into this. I really dig the idea of using the no slash urls to include the
ABS
path so I included that as is. The js I changed toif (settings.showing == 0)
which should work just the same as==
is not type specific. Also yesterday, I addedsettings.showing = 0;
to image-start in closed mode to deal with resizing properly…ps I noticed the $params missing(copy/paste) error a few days back so that was fixed but thank you non the less
just a few more tests now!
Forum: Plugins
In reply to: [TAB SLIDE] Responsive Positioning ChangeWith tab slide pro you could simply have two separate, almost duplicate instances, one dedicated for mobile and another dedicated for desktops…With the free version, it is slightly trickier but still doable…first you’ll need the upcoming version of tab slide (v2.0.1) which is scheduled for release tomorrow (you can just wait to do an autoupdate so you don’t loose your settings by uninstalling)
Go to the tab slide settings screen and make the adjustments you want for the mobile version, then switch to CSS only mode and copy paste the generated css result from the textarea into a new file, lets call it mobile_tab_slide.css and lets put it in
wp-content/uploads/mobile_tab_slide.css
You can switch back to regular mode and readjust the settings you want on the desktops at this point and hit save.
Then at the end of your
functions.php
add the following:add_filter( 'tab_slide_css_url', 'mobile_css_url_handler'); function mobile_css_url_handler($url) { if (wp_is_mobile()) { // REPLACE yoursite.com with actual site below $url = 'https://yoursite.com/wp-content/uploads/mobile_tab_slide.css'; } return $url; }
make sure you replace the https://yoursite.com/ url to the actual url and you should be good to go
the
mobile_tab_slide.css
stylesheet should load when the mobile devices are viewing the page, otherwise the usual tab slide css will be usedForum: Plugins
In reply to: [TAB SLIDE] iframe not workingThe first issue you mentioned is not tab slide related. Some sites simply prevent you from using them in iframes (like google, so in retrospect that might have not been a good example to use)
check this link out for more info
As for the height of the iframe , I made a wrong css entry in the template.
I will issue a fix for this in the v2.0.1. In the meantime to get it workinggo to
wp-content/plugins/tab-slide/templates
and edit
iFrame.php
and change the
height
toauto
on the last line. should be like this:<iframe class="tab_slide_iframe" src="<?php echo $url; ?>" style="width:<?php echo $width; ?>;height:auto;"></iframe>
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabled#4 It looks like you tried using
/wp-content/themes/mytemplate/Banner.php
as your window urlmake sure to use the full path to this file
for eg.
https://yoursite.com/wp-content/themes/mytemplate/Banner.php
for #1 would you be able to post the link to your site where the tab slide stays open so I can check out what’s going on on your particular install?
Forum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visibleawesome !!
You can help out by rating/reviewing the plugin ??
Also let me know if you run into any other issues with the new version…I think it’s pretty much ready for release as is.
enjoy!
Forum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visibleI just implemented a bugfix for Tab Slide compatibility with WordPress SEO by YOAST where a similar issue of the content not showing was in play. It might work in your case as well. Reinstall v2.0.1 from scratch and see if the issue is fixed
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabled#2 revisited,
I was finally able to reproduce this issue albeit in the pro version. I got it working and I have implemented the same fix in v2.0.1, so reinstall a fresh copy of Tab Slide v2.0.1 and see if the problem goes away now when WordPress SEO is active.
Almost ready to release, just a few more tests ?? can’t wait!
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabled#1. If tab slide is set to
Start in open position
andAutoclose after
, the initial close button was intentionally hidden so the users cannot close tab slide on the initial view until it automatically closes.
I will add an option to choose whether you want this behaviour or not in the future.As for it starting in open mode when this option is deselected, check if there are any javascript errors present on page (hit
F12
for the debugger in your browser, click onconsole
and refresh the page). If there are, try to correct them and see if this does the trick.#2. I installed and activated WordPress SEO Plugin by Yoast without touching any of the settings, used the Twenty Fourteen theme and the content was loading fine, and the open close functionality was working as expected…Maybe you can poke around with the WordPress SEO settings to see which one specifically makes it tick, so I can replicate this on my development server
#4. If you want templates in your theme directory(or anywhere else outslide the tab slide folder for that matter) you will have to use the FULL path url to the template…ie start with https://
Forum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visibleOk at this point, if you put this code snippet at the end of your
functions.php
file what is the output in your php error log file?add_filter( 'tab_slide_url', 'get_used_url_final'); add_filter( 'tab_slide_include_container_html', 'get_include_html_final' ); function get_used_url_final($url) { error_log('Template URL used for inclusion: ' . $url); return $url; } function get_include_html_final($html) { error_log(' HTML: ' . $html); return $html; }
Forum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visibleI wonder if the theme is not playing nice with wordpress actions and filters
try adding
echo apply_filters('the_content', '');
in that theme’s
single.php
or whatever template file is being used to generate the page that you are trying to display tabslide onForum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visiblethe url looks good but the
tab_slide_include
div is not included on the page. Is your php error log still logging the include error?everything else seems to check out ok…
Forum: Plugins
In reply to: [TAB SLIDE] No content displaying and displaying on load even when disabledSo in v2.0.1: Try switching templates on the tab slide general settings screen and click save. this should refresh the URL to make sutre it is using the new url format
/templates/Subscribe.php
as opposed to the old one
wp-content/plugins/tab-slide/templates/Subscribe.php
you can check which one is being used if you use the CUSTOM url as the template pick which reveals the window URL input showing which URL is being used.
Forum: Plugins
In reply to: [TAB SLIDE] Only the tab button is visibleredownload the newest version as I added in a bugfix since not related to this issue.
Once you do that, in your case the old template url is still present and it is attempted to be added to the overall url
ie old template URL:
wp-content/plugins/tab-slide/templates/Subscribe.php
So, to fix this, go to tab slide settings,
switch template pick to anything else but subscribe or custom, and click savethe new url shold be saved now and when you click custom you should see
/templates/TEMPLATE_YOU_CHOSE.php
as the new URL in the “Window URL” input fieldif you don’t see that edit it and make it for eg:
/templates/Subscribe.php
if you do you can switch back to subscribe and it should work then