Support

Account

Home Forums General Issues Writing small descriptions using ACF

Helping

Writing small descriptions using ACF

  • How to write a small description using ACF? A way to generate articles?

    For a example:

    //In template
    The {phonename} is a {category} smartphone designed and marketed by {company}. that use {Mob_OS} mobile operating system.

    //Output #1
    The iPhone is a flagship smartphone designed and marketed by Apple Inc. that use Apple’s iOS mobile operating system.

    //Output #2
    The OnePlus Nord is a mid-range smartphone designed and marketed by OnePlus Inc. that use Android mobile operating system.

    Is there a way to do this?

  • Create text fields for the input

    
    The <?php the_field('phonename'); ?> is a <?php the_field('category'); ?> smartphone designed and marketed by <?php the_field('company'); ?>. that use <?php the_field('Mob_OS'); ?> mobile operating system. 
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.