Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-05-31 14:45:22

Timelessimages
Member
Registered: 2016-04-19
Posts: 49

Adding HTML code to pages

Hi, I have a chat application that I wish to be triggered when some goes to my gallery page.
As its not a "normal" page in wordpress that I can just drop the required HTML on the pages code, How do I go about adding it?

Hope that makes sense..

Offline

#2 2016-05-31 21:57:30

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Adding HTML code to pages

you can add html directly into the page copy fields. But this is usually for visual items such as links or images or buttons.

You can try adding yours to the page copy and see what happens. Otherwise, you'll need to use phplugins to insert the code where needed. Where on the page does the code need to go?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-06-01 07:03:51

Timelessimages
Member
Registered: 2016-04-19
Posts: 49

Re: Adding HTML code to pages

sorry Rod, no idea where to find the page copy fields.

The code can go pretty much anywhere on the page from what I understand
Avada is a weird theme in the way it works which is causing me issues with this chat app. Have the problem resolved on all pages now though except the gallery and autoindex.

I just tried adding the code to the page sidebar but still no go.

Where are the page copy fields you mentioned?

Offline

#4 2016-06-01 07:08:20

Timelessimages
Member
Registered: 2016-04-19
Posts: 49

Re: Adding HTML code to pages

Oh wait,,, oops. I turned the sidebar on (my bad). it works. Kewl. so adding the HTML code to the sidebar has resolved the issue.

Thanks guys

Offline

#5 2016-06-01 07:15:26

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Adding HTML code to pages

Where are the page copy fields you mentioned?

In the plug-in they're in the Color Palette control pane
http://ce4.theturninggate.net/docs/doku … ntent_area

If using Publisher, you can choose to use the text you added to the template, or add text in the Page Copy fields in the create/edit dialog boxes. Or you can choose to use both the copy you add in the album and the copy in the template.

If you're using Publisher and this is code you want on every page, you can place it in the sidebar area in Lightroom. Then every time you create a new album, choose the appropriate option that shows only the template text in the sidebar.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB