kavingray
Forum Replies Created
-
No, Both the Path and url should be from root or from domain. –
path
/wp-content/themes/mytheme/css/wp-ui/url
http://mydomain.com/wp-content/themes/mytheme/css/wp-ui/should work correctly. 🙂
Strange, It seems to work here. Anyway I might be wrong. With the recent CSS changes to jQuery UI – absolute positioning CSS fix I was about to suggest will not probably work. You might need to do it with JS, for example –
wpuiJQ( function( $ ) { $( '.wp-tabs' ).find( '.ui-tabs-panel' ).css({ position : 'absolute', top : '-1000px' }); // better to use ID. $( '.wp-tabs' ).on( 'tabsbeforeactivate', function(e, ui ) { ui.newPanel .css({ 'position' : 'static' }) .siblings('.ui-tabs-panel') .css({ position : 'absolute', top : '-1000px' }); }); });You might need to harness the
tabsbeforeactivateevent appropriately to make the tabs work. Please modify the code accordingly.@pha3z – It is usually due to missing
wp_head()andwp_footercalls in the theme. Please check your header.php and footer.php for these and add it if necessary. 🙂Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] JS causing wait time….Apologies, this issue will be fixed shortly. Meanwhile you can enter this in
options->Advanced->Conditional script load logic.!is_home()Above disables the plugin scripts on home page.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Accordion under TabsYou can use an accordion inside tabs, provided you use HTML to implement the accordion( or tabs in that matter). Implement the tab as you would normally, and use the below pastie for HTML template reference.
Dear Willie,
Most likely there is a problem in the HTML output, Please check the inline styles and JS for any syntax errors. Scripts errors are usually a result of this.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Launch a Dialog from a link?Yes, The dialog shortcode has to be with options
[wpdialog auto_open="false" _id="dialogsid"]....... restNow you can open the dialog with –
http://example.com/blog/postname/#dialogsidForum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Can't get icons to work as tab titlesThanks for notifying, will issue a fix ASAP.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] My link to an accordion doesn't open it.Van, My sincere apologies. This was due to the changes with the UI accordion API as the method activate has been deprecated in the latest UI code. But I’ve modified the hashchange code to reflect this.
Please download the latest code from GitHub. https://github.com/kavingray/wp-ui/archive/master.zip .
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] WP UI Shortcodes not showing upHi, there is a javascript error thrown on the page, from a script “collapse.js” from the plugin jQuery collaps-o-matic. Disabling the plugin might solve this issue.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] DB-Toolkit Conflict with WP UIThanks for notifying. Please try Options -> Advanced-> Compatibility mode for now while I workaround a solution for this issue.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] First page display when tabs includedDelayed initialization is usually due to slow connection, But it also can occur on other circumstances.
Tabs might misbehave when hidden during load, that’s why I’ve not yet attempted to do any form of FOUC prevention. But your suggestions are highly appreciated, I will see what I can do. 🙂
That script ( actually a query ) moves WP UI scripts to their own namespace.
These are the contents.
var wpuiJQ = jQuery;BTW, Can you plz check the network tab and see whether it’s throwing a 404, despite the contents being loaded? If so, it’s already fixed on GitHub.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] using background image for tabsYou’re welcome. Well, You can always use inline styles for the individual tabs. Are you aiming for the clickable tabs or their content? For the former, Just include an image within wptabtitle shortcode. If for the content, Each has it’s own ID attribute, that can be used to style it.
Hover over the tablink, you will find the hash of the content div it opens, for eg.
http://example.com/blog/year/month/post-name#tabid. With the above example –#tabid { background : url( "http://example.com/link/to/image.png" ) repeat; }The answer to your questions. 🙂
1) Yes, You have to enter the correct ones, But please note that one is for Path ( directory) and another is URL to that folder.
2) Paths will be automatically included in the URL of scanned styles.
3) As told earlier, yes it should. The changed one will be the default path now. That means old ones in ‘uploads/wp-ui’ wont be scanned.Some additional consideration should be taken when you have
1) WordPress installed into a folder ( not in your case)
2) Custom WP_Content_DIR and WP_CONTENT_URL