Jump to content


Tabber Widget Template


6 replies to this topic

#1 wpsmith

wpsmith

    Advanced Member

  • Members
  • Others: All Plugins, BackupBuddy
  • PipPipPip
  • 31 posts
  • LocationAtlanta, GA

Posted 24 September 2011 - 03:19 PM

Can you please make an option on Tabber Widget for a Custom Template (to be placed in style.css) thus no CSS?

#2 Bes Zain

Bes Zain

    Member

  • Members
  • 4,268 posts
  • LocationIn your monitor. And next to San Francisco

Posted 26 September 2011 - 03:23 PM

Hi Travis, :)

Thanks for posting this! Hmmm, could you explain a bit more please?

1 : Do you mean you would like something like a CSS box with the CSS in it, related to something (what is that something?) that you would like to copy paste into your style.css file for changes to take effect?

2 : Or did you mean some sort of a style manager where you could choose some sort of a styling for things and then Tabber Widget could show you the final css and you simply copy paste it into your style.css?

3 : Or something else?

Regards,

#3 wpsmith

wpsmith

    Advanced Member

  • Members
  • Others: All Plugins, BackupBuddy
  • PipPipPip
  • 31 posts
  • LocationAtlanta, GA

Posted 27 September 2011 - 07:55 AM

Hello Bess,

I was thinking more of the first scenario: person chooses "custom" style and a CSS box appears where the user can select from the four default styles to customize and copy and paste into their own style.css and it deregisters/dequeues the stylesheet (if it does wp_enqueue_style).

Thanks,

Travis

#4 Bes Zain

Bes Zain

    Member

  • Members
  • 4,268 posts
  • LocationIn your monitor. And next to San Francisco

Posted 27 September 2011 - 03:22 PM

Good suggestion, Travis! :)

Added it as a future feature suggestion. Will try to let you know as soon as there are any updates. You can also check the plugin updates to see when/if there are any upgrades available.

Regards,

#5 wpsmith

wpsmith

    Advanced Member

  • Members
  • Others: All Plugins, BackupBuddy
  • PipPipPip
  • 31 posts
  • LocationAtlanta, GA

Posted 28 September 2011 - 08:04 AM

In the meantime, I'd like to dequeue the style. Please let me know how to modify this statement:

I have selected the basic light template.

add_action( 'wp_enqueue_scripts', 'wps_dequeue_tabber_style' , 15 );
function wps_dequeue_tabber_style() {
wp_dequeue_style( 'tabber_widget-tabber-widget-basic-light' );
}
I believe this is correct.

Thanks,

Travis

Edited by Travis Smith, 28 September 2011 - 03:08 AM.


#6 wpsmith

wpsmith

    Advanced Member

  • Members
  • Others: All Plugins, BackupBuddy
  • PipPipPip
  • 31 posts
  • LocationAtlanta, GA

Posted 28 September 2011 - 08:42 AM

Also, in the widget.php, can you add classes to the <li> tags for more custom styling…

<li<?php if ( $tabber["title_$counter"] ) echo ' class="$tabber[ strtolower( . '"title_$counter"] ) . '"'; ?>><a<?php echo $class; ?> href="#<?php echo $tab_href; ?>"><?php echo $tabber["title_$counter"]; ?></a></li>

Edited by Travis Smith, 28 September 2011 - 03:44 AM.


#7 Bes Zain

Bes Zain

    Member

  • Members
  • 4,268 posts
  • LocationIn your monitor. And next to San Francisco

Posted 28 September 2011 - 10:20 AM


Hi Travis, :)

Thanks for the reply. The code you have above looks correct, yes.

I have alsoadded the LI styling suggestion as a possible feature request too, thanks!

Regards,

Bes



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Tabber-Widget Plugin forum.


  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users