Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter a4u

    (@a4u)

    for shortcodes I more or less okwith this solution

    <?php $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) ); echo apply_filters(

    ‘the_content’, $term->description ); ?>

    Theme Author alex27

    (@alex27)

    Hello!
    I’m not sure what you’re trying to do here. Neither HTML nor PHP is allowed in services widget description field. But you don’t need to use services widgets in this area, you can find some other widget that allows for HTML and use that instead.

    Thread Starter a4u

    (@a4u)

    All I am doing is adding a description text to service page output like this page:
    webtuts.pl/test/corpo/project-services/architecture/

    and then afterwards I want the echo to process also shortcodes or html, so if I have more paragraphs is not an output of raw text.

    Theme Author alex27

    (@alex27)

    I thought you meant services widget 🙂
    The page you’re referring to is portfolio archives page, and as it is it won’t display any description. Where exactly are you adding your text?

    Thread Starter a4u

    (@a4u)

    with the code I posted above I am already adding the description text of the services to the taxanomy output page.. so it’s all good 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML markup or Shortcodes in SERVICE description’ is closed to new replies.