Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi Stefan,

    thanks for your question, and sorry for the trouble.

    The question here is how your theme prints that category description. Most likely, there’s a line like

    echo category_description( $id );

    in the file in your theme that is used for categories. You would then just have to change that to

    echo do_shortcode( category_description( $id ) );

    to have Shortcodes evaluated.

    Regards,
    Tobias

    Thread Starter Farlif

    (@farlif)

    Hi Tobias,

    thank you so much for your fast and kind answer!
    Unfortunately your solution doesn’t really work in my case. Probably my fault, perhaps I should have had described the situation better.

    Here’s what I am trying to achieve: I want to have a text on the category page in which a table is embedded.
    The theme didn’t allow me to do html in the category description in the first place, so I took the “HTML in Category Description” plugin, which makes it possible to insert a complete text page – except the table.

    Now, if I replace the category_description by do_shortcode I lose the ability to insert html text and also the table in the text doesn’t appear. But if I just add your do_shortcode line to the existing code, nothing happens. Maybe another solution?

    Thanks again, Tobias, and in advance merry x-mas days!
    Stefan

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Stefan,

    sorry, I don’t really understand. The do_shortcode plugin should not change that existing HTML code at all.

    Maybe you should then look for a plugin that not only allows HTML in the category description, but also Shortcodes? This is not specific to the TablePress Shortcodes, so a global solution like that should be much better…

    Regards,
    Tobias

    Thread Starter Farlif

    (@farlif)

    Ok, I’ll look for one as you recommended. Thanks anyway!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! Sorry that I couldn’t help better.
    If you find that there’s something I can do in TablePress, just let me know!

    Regards,
    Tobias

    Thread Starter Farlif

    (@farlif)

    Great support, Tobias! ??

    For those with the same question: “Rich Tax Description Editor” solved the problem and seems to work neatlessly with TablePress.

    Best,
    Stefan

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very nice! Thanks for letting us know! Great to hear that there’s a plugin that fixes this ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Other way to publish a table than by short code?’ is closed to new replies.