Site logo

Archived topic

Hook element for announcement?

7 replies · Started by Juned on January 23, 2021

Viewing posts 1–8 of 8

Hi,

I want to display various type of information and announcements at Shop and other pages. It can be below or above Header/Footer/Content/Page Title.

Pls guide me the correct procedure for following:

Elements --> Add New Element --> Hook (create) --> Add Title (Free Delivery) --> [What needs to be written at 1.] {I want to display (Bullhorn Icon from GP Icons) Icon + Free delivery over order Rs.300 and above.)}

(then) Hook (WooCommerce Shop Page Title) --> Execute Shortcodes??? / Execute PHP??? --> Priority??

(then) Display Location: Page --> Shop.

[I want to show "Bullhorn Icon from GP Icons + Free delivery over order Rs.300 and above" at Shop Page, below page title].

Pls suggest.

Hi there,

probably easier to use a Block Element, combined with the GenerateBlocks plugin.
You can then use a Container Block to set a background color, and then use the Headline Block to style your text, which also includes adding Icons.

Then select the Hook you want it to be displayed e.g before_header to add it the top of your site.

I'm having GP premium, GPB and GPB Pro.

I will try it.

Let us know if you need any help :)

Hi,

I did as per below but its now showing:

Element --> Add New --> Block --> Block Type --> Hook --> generat_after_header --> Priority 10 --> Page --> Shop

The Title, Type & Location is showing correctly at Elements Menu.

I am deactivating Autoptimize for your reference.

Hi Juned,

Try to change location from page > shop to Product archive.
Let me know :)

:)

Thanks. It's working good.

Nice :)

This archived topic is closed to new replies.