Advanced Custom Fields - match title to post title & slug (2 posts)

  1. applegateian
    Posted 2 years ago #

    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.



  2. applegateian
    Posted 2 years ago #

    Update - found this on stackoverflow, but doesn't work so far, any ideas welcome


Topic Closed

This topic has been closed to new replies.

About this Topic