• Hi,

    do you plan to add title for a widget ?

    For example in sidebar/column is reserved block for “Our survey” what can be edited as custom post type, but in widget i can’t define a header for this content block.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Johan van der Wijk

    (@vanderwijk)

    I am thinking of adding an options page where you can specify whether to show the title or not. Not sure when I will have time to do so though.

    In the meantime, you can add this functionality by editing the plugin file and add the following code on line 67 (before echo the_content();)

    echo '<h2>' . the_title() . '</h2>';

    Plugin Author Johan van der Wijk

    (@vanderwijk)

    Hi Adorei,

    I have just commited version 1.2 of my plugin to the WordPress Plugin Directory. It now includes the option to show the title of the custom post. Let me know if this helps!

    Thread Starter Radovan Smitala

    (@adorei)

    Hi,

    sorry, subscribe emails seems dont working :/

    It’s better. But wordpress have modest some API and Widgets is one of them.

    I have some ideas to extend this absolutely great plugin.

    First one is: custom templates (for example custom-post-widget.php in theme directory) For example you wanna to use post thumbnails, HTML5/OO CSS hierarchy or something other. I know this should be in WordPress core support.

    And for second: It’s only cosmetic. Add widget title (no post title), but next to widget name. Because when you use more and more this widgets (with Dynamic widgets) you are dissapeared.

    I hope i was clearly ??

    Adorei.

    Plugin Author Johan van der Wijk

    (@vanderwijk)

    I think that the post formats that will be introduced in version 3.1 might help you with the first issue.

    It is definitely a nuisance to be having to expand the widgets to check which is the one you want to edit when you are using multiple instances of a certain widget type.
    Having a widget title is definitely something that would help, but as with your first point this is also something that is out of the scope of my plugin.

    Thanks for your compliments, I would appreciate it if you could rate my plugin ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Custom Post Widget] Title for widget’ is closed to new replies.