• Hi I added in a text module in Divi this:
    [field about_page_title]
    It is showing up blank. Is there more than the above shortcode should go on the page?
    Is there a list of all the shortcodes that can be used? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have added this in visual or text mode? If visual – try text mode.
    Also , do you have a field called about_page_title if not try [field title].

    Thread Starter nanny7

    (@nanny7)

    Hi for every single one I put in the front of the site says “Contacts” for example I put it on the page like this: [field title national_president_email]
    “Contacts” is the page title.
    Am I not able to add separate custom fields? This is what I am trying to achieve instead of putting in [acf field=”about_page_title” post_id=”277″]
    for each one as I don’t want to have to put in the post_id for each acf field as this is a demo site for the client.

    I am also getting this as the content: et_enqueued_post_fonts I am not sure why that is showing.

    Thanks

    Your code seems to be wrong:

    To get the current page title use [field title]

    To get a field of the current content use [field FIELDNAME PARAMETERS]

    For details see documentation.

    Thread Starter nanny7

    (@nanny7)

    Hi thanks I am reading the documentation but maybe it isn’t pulling in the post type field from ACF.
    I placed this on the page but it still shows up blank: [field key=field_600a212a50bdd]
    Where are the PARAMETERS for acf field to output the same as this one: [acf field=”about_page_title” post_id=”277″]
    That shortcode works because it is pulling the post_id onto the page and maybe it doesn’t work on a page without the post_id.

    Thanks for you help.

    Not sure what you want to achieve.

    To get the title of the current post use [field title].

    To get the values of an acf field [field FIELDNAME PARAMETERS]. For example for a text field called my_field use [field my_field].

    To get something from a specific post use [content id=POST-ID field=FIELD-NAME]

    The second shortcode is not working, its just displaying the id you put as post_id in the shortcode. All WP items have a post_id.

    BTW. I use the plugin with DIVI and have no issues. So please recheck the docs.

    • This reply was modified 4 years, 1 month ago by polarracing.
    • This reply was modified 4 years, 1 month ago by polarracing.
    Thread Starter nanny7

    (@nanny7)

    OK thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hi not showing on Divi using text module’ is closed to new replies.