- This topic has 12 replies, 3 voices, and was last updated 1 year ago by Tom.
August 30, 2019 at 4:18 am #997044Créateur
I want to Import author names from a source page to my single posts. The author name should be placed above the Featured Image just as in text.
To import the name in right place I created a Hook in Elements and selected
How can I find out the post meta key for that Hook in GP Elements?August 30, 2019 at 4:25 am #997048DavidStaffCustomer SupportAugust 30, 2019 at 4:29 am #997052Créateur
I was thinking to create a “place” (after_entry_title) and import values in this place.
Not possible? 🙂
The author names are from a source news page.
I forget to mention that I am also importing the related post …
And I am going to import via CSS SelectorsAugust 30, 2019 at 4:37 am #997061Créateur
For example, I have a class
.autorin the source news page.
I want to import all names which have this class to the target website in single Posts above the Featured Image.August 30, 2019 at 4:38 am #997062DavidStaffCustomer SupportAugust 30, 2019 at 4:49 am #997069Créateur
So will every Post display ALL author names?
No, each Post will display only the author of the specific post.
I “just” would need a value for an input that I create first.
I thought to do that withe the hooks …August 30, 2019 at 5:05 am #997085DavidStaffCustomer SupportAugust 30, 2019 at 5:09 am #997087Créateur
Okay, asked differently …
How can I output the author over the featured post by hookAugust 30, 2019 at 8:46 am #997321DavidStaffCustomer Support
If you’re using a Header Element then its quite simple – see this example:
If not then if you can link me to the site and ill see what can be done – overlaying it on the featured image can be tricky.August 30, 2019 at 9:29 am #997349Créateur
Sorry for confusing … I am trying to find a way for the requirement.
How can I create an Input field in WP backend posts, like the following one:
Is this possible with Hooks in GP Elements?
Sorry for my newbie questions.August 30, 2019 at 4:45 pm #997549TomLead DeveloperLead Developer
You need to create a custom metabox to do that, which isn’t possible in GPP. Advanced Custom Fields is worth checking out: https://www.advancedcustomfields.com/
Hope this helps 🙂September 3, 2019 at 2:10 am #999750Créateur
Thank you very much!September 3, 2019 at 8:07 am #1000100
- You must be logged in to reply to this topic.