- This topic has 10 replies, 2 voices, and was last updated 4 months, 2 weeks ago by David.
March 28, 2022 at 3:33 am #2169529Yaeko
hi.I am trying to add some chat apps on my site. currently I did add code with elementor. somehow I need to change my direction. I want to add code on single page. chat manual says copy and paste just before closing </body> tag, but on code editor mode on each page, I can not find </body> tag. so is there anyway that I can achieve it?
thanks!March 28, 2022 at 3:42 am #2169539DavidStaffCustomer Support
For sure – follow these steps:
1. Enable the Elements Module in Appearance > GeneratePress.
2. Then Create a New Hook Element in Appearance > Elements:
2.1 In the Hook text area add your chat app script.
2.2 Select the Hook:
2.3 Set the Display Rules to the
Entire Siteor the specific pages you want the chat app displayed.
2.4 Publish the hook.March 28, 2022 at 3:45 am #2169543Yaeko
thank you for quick reply!
yes I know, I am using elements and hook.
but I rather want to try single page.
is there any way that I can do?March 28, 2022 at 4:10 am #2169576DavidStaffCustomer Support
Why not just set the Element Display Rule to the single page you want it applied to?
The only alternative is to add it to the page in the editor using a HTML Block.
But it won’t be just before the
</body>tagMarch 28, 2022 at 4:17 am #2169581Yaeko
I understand your question that not using element.
I am on learning curve. that is first.
I am building site that 2 languages. Japanese and English. Both language I have original text, not auto translation.
which means I do not require polylang or any other multi lingual plug in. only give different slug /ja or /en.
in which case, hook unable to find out which page is japanese or english. (mind you, Not using polylang, so each page or post no identify language!)
does it make sense to you?March 28, 2022 at 4:28 am #2169592DavidStaffCustomer SupportMarch 28, 2022 at 4:36 am #2169596Yaeko
Japanese site almost complete.
English page, I just duped japanese page to english, only home is uploaded. but yes, sure, please.
also if you want to log in, I can create user for you. do let me know.March 28, 2022 at 4:45 am #2169603DavidStaffCustomer SupportMarch 28, 2022 at 4:46 am #2169604Yaeko
copy the layout, put in original english text. so answer is yes, sir.March 28, 2022 at 5:24 am #2169649Yaeko
so it seems only way is I have to rule out exclude english hook on japanese page. am I right?March 28, 2022 at 5:38 am #2169676
- You must be logged in to reply to this topic.