• Resolved wp4suncountrymarine

    (@wp4suncountrymarine)


    Is there a way to add php code to a page template (for a product inventory page that doesnt have its own page type) so that the code automatically works – because I dont have it active for all other page types.

    Also, I think the URL is incomplete for the default settings for this image:
    1456175371_vector_65_14.png

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dotstore

    (@dots)

    Hello,

    Thanks for getting in touch with us.

    There is no any way to directly add PHP code to the custom template.
    You can use this function “insert_page_visit_counter_total_block_shop_page” in “class-page-visit-counter-public” file. You can refer this function and you can use as per your need in your code.

    Can you please provide the screenshot for the incomplete path of the 1456175371_vector_65_14.png image?
    So we can look over it and provide you solution for the same.

    Thank You,
    Multidots.

    Thread Starter wp4suncountrymarine

    (@wp4suncountrymarine)

    Thank you for your help.
    The following is the path to the image that I mentioned:
    wp-content/plugins/images/1456175371_vector_65_14.png

    I copied the image to that location as a temporary solution so as to not change your code.

    Plugin Author Dotstore

    (@dots)

    Dear wp4suncountrymarine

    You are one of our preferred customers; your feedback is of the utmost importance to DotStore. We are continually striving to provide the ideal experience for our customers, and your input helps us to define that experience. Please take some time to tell us about your experience and how you like the product and services. We would appreciate it.

    Click here: https://ww.wp.xz.cn/plugins/page-visit-counter/#reviews to submit ratings and review for “Page Visit Counter.”

    Thank you for your time.
    Multidots

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Live for one PHP page type’ is closed to new replies.