Hi. Custom html block not working with code.

This topic has 2 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler

  • Avatar: Kestutis
    Kestutis
    Participant
    February 3, 2023 at 15:04

    I am trying display site title and category title before product title with code.
    Any solution? why not working?
    example : https://prnt.sc/Qfl1zIQVDE0u

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 3, 2023 at 16:48

    Hello, Kestutis

    Those areas are for html code but not for PHP language. You may create shortcodes for showing your site info and put those shortcodes in html areas then.
    Example of content of your html area :
    [site_title_shortcode]

    But firstly you should create such shortcode in your child theme/functions.php

    Kind Regards,
    8theme team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.