Site logo

Archived topic

Are there custom post meta for Hooks created in GP Elements?

12 replies · Started by webcréateur on August 30, 2019

Viewing posts 1–13 of 13

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 after_entry_title.

How can I find out the post meta key for that Hook in GP Elements?

Hi there,

Hooks are a just a 'place' where you can insert data.

Where are you getting the author names from? And how would the Author name relate to the post it is being displayed on?

Hi there,

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 Selectors

For example, I have a class .autor in 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.

So will every Post display ALL author names?

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 ...

The post author is displayed automatically below the Entry Title on single posts - sorry little confused.

Okay, asked differently ...

How can I output the author over the featured post by hook

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:
https://prnt.sc/ozpo71

Is this possible with Hooks in GP Elements?

Sorry for my newbie questions.

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 :)

Thank you very much!

You're welcome :)

This archived topic is closed to new replies.