WordPress.org

Ready to get started?Download WordPress

Forums

WP slabText
How to get this working on header text, widgets (6 posts)

  1. Downsouth
    Member
    Posted 1 year ago #

    Great plugin ! But how can I get this to work on header text (for responsive design) or widget headings or page heads?

    Thanks

    http://wordpress.org/extend/plugins/wp-slabtext/

  2. dxd5001
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for using this plugin.

    Did you checked the “Settings > slabText” screen ?

    You must set the class name of the parent element surrounding the header (=target).

    And also must put post_class() function on to the parent or ancestor element of the header. You can see the exact sample in the content.php of "Twenty Eleven" theme.

    --

    I don't know if the effect can apply in widgets, but it would be fine if you do the same way as above.

    Any question is welcome :)

  3. pete_richardson
    Member
    Posted 1 year ago #

    Hi there,

    I'm also having the same problem getting the plugin to work where i'd like it to on my wordpress site.

    Could you give a few more details about how to wrap the slabText around the blog page headers? (post headers )

    For example, perhaps some sample code with the wordpress loop and some blog posts with the slab text applied to the post headings?

    I found the documentation on the slabText website is also quite brief and i think more code examples might help people get this up and running easier.

    i'd also like to know if it is possible to apply to page titles and widget titles too?

    thanks in advance for any help and for making this into a plugin!
    I think its going to get much more popular over the next few months as people see it more often. :)

  4. dxd5001
    Member
    Plugin Author

    Posted 1 year ago #

    You can see a sample at this page (Our tech blog in Japanese):

    http://fe-labs.net/plugins/wp-slabtext/wordpress-is-web-software-you-can-use-create-beautiful-website-blog/

    The code of near the header:

    <header class="entry-header">
    	<h1 class="entry-title"><?php the_title(); ?></h1>
    </header>

    In this case, you must set 'entry-title' to the 'Classname of parent element' of the settings page of the plugin. If the classname of 'h1' tag in your template is 'post-title', it must be 'post-title'.

    Pages header:

    I updated the plugin just a minite ago (version 0.9.2).
    You can now see the option meta box in the editor screen of Pages.

    Widget title:

    I had applied the effect to a widget title experimentally.
    You can see the effect on the bottom corner of the page.
    However, no control at this version :(

  5. Downsouth
    Member
    Posted 1 year ago #

    Working great now. Fantastic plugin, thanks

  6. pete_richardson
    Member
    Posted 1 year ago #

    hi dxd5001,

    Sorry i'm a little slow getting back to you.

    i've managed to get the plugin working on my blog now.

    thanks again for a great plugin and for all your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.