Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author swergroup

    (@swergroup)

    Hi enigmaenigma, I can’t see the HTML code so I can’t be sure 100%, but I think everything is working here and it’s a misunderstanding.
    This shortcode – no matter what post or page it’s in – will output a

      with some

    • containing posts from your category 11, but it’s not intended to replace in any way the post title in the templates.

    I’ll try to explain: in the lower half of your screenshot, the post title is shown inside a

    • as expected, because you’re using the [showlist] shortcode and this is supposed to output an unordered list, as shown in the shortcode documentation.

      On the other hand the header provided from the shortcode is “MY CUSTOM LIST” and to change that title you have to use the headertext argument, i.e. headertext=”my post title”.

      To have the shortcode header styled like the upper half of the screenshot, check if your theme’s template file have some custom markup or class around its title header and try to clone it around the shortcode (or replace wrapperclass with the real CSS classes).

      Hope it helps!

    Plugin Author swergroup

    (@swergroup)

    Of course I broke the comment: it’s the last time I try to comment from a tablet ?? Really sorry for that.

    This is the amended comment:

    This shortcode – no matter what post or page it’s in – will output an unordered list (<ul>) with some list items (<li>) containing posts from your category 11, but it’s not intended to replace in any way the post title in the templates.

    I’ll try to explain: in the lower half of your screenshot, the post title is shown inside a list item as expected, because you’re using the [showlist] shortcode and this is supposed to output an unordered list, as shown in the shortcode documentation.

    On the other hand the header provided from the shortcode is “MY CUSTOM LIST” and to change that title you have to use the headertext argument, i.e. headertext=”my post title”.

    To have the shortcode header styled like the upper half of the screenshot, check if your theme’s template file have some custom markup or class around its title header and try to clone it around the shortcode (or replace wrapperclass with the real CSS classes).

    Thread Starter enigmaenigma

    (@enigmaenigma)

    also is a misunderstanding hihihi!!
    Thanks so much for your post!! and also for your brilliant plugin!
    I don’t want to REPLACE the title, i just want to see in the same size the title in the blog (main page is in H1) and in the page with the plugin stay in the h5 ??

    Maybe i don’t understand almost everything…
    [showlist catid=”8″ listclass=”la-revue-de-la-mode” header=”1″ headerclass=”my-header” excerpt=”true” image=”true” wrapper=”true” wrapperclass=”custom-wrap”]

    Thread Starter enigmaenigma

    (@enigmaenigma)

    ups sorry! i don’t finised:
    https://dl.dropboxusercontent.com/u/7617229/temporales/problem2.jpg

    I just looking for the code to see all of the tittle of one ID in H1 …
    Thaaaaanks a lot for your time!!!

    Plugin Author Paolo T. (pixline)

    (@pixline)

    Can you please tell me both WordPress and plugin version? I can’t reproduce the bug in my test environment (WP 3.5.1 / page2cat 3.3.1).

    Also, posting the rendered HTML output (“view source”) on pastebin.com and sharing the pastebin here or by email (plugins AT swergroup DOT com) would help a lot. Thank you for your patience!

    Plugin Author Paolo T. (pixline)

    (@pixline)

    Thank you for the private mail: now it makes more sense.

    You need to have the same header class as your theme’s post title ( h1.entry-title ). Try this shortcode (with every other arguments you need, of course):

    [showlist catid="11" showheader="true" header="1" headerclass="entry-title"]
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Head title [h1,h2,h3] doesn't works…’ is closed to new replies.