WordPress.org

Support

Support » How-To and Troubleshooting » Advanced Custom Fields – match title to post title & slug

Advanced Custom Fields – match title to post title & slug

  • Hi guys

    I am using the (amazing) Advanced Custom Fields plugin. This is for users to upload their posts without seeing the regular WordPress post interface.

    Everything works, except for one thing. I need to match the custom field I have created for ‘title’ to the default WordPress title. I can hide the WordPress title and show mine using <?php the_field('project_name'); ?> however, this does not affect the slug of the page. That means the URL is always …./2013/01/26/auto-draft-8/ for example – it always saves as auto-draft.

    How do I get my custom title to be (a) the slug and (b) the title of the page without adding in my PHP? (a) is the most important one.

    Thanks!

    IAn

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Custom Fields – match title to post title & slug’ is closed to new replies.
Skip to toolbar