Optional Field on Staff Page

Support Area Forums Foundation Optional Field on Staff Page

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question:
  • Author
    Posts
  • #6145
    Janice
    Participant

    Hello Bill,

    I am just building my new site at: http://owanorthamerica.org

    I am setting up my teachers in the Staff section and I would like to use the “Optional Field Title” with “Optional Field Link” to add a link to this social network site: http://www.oneworldfriends.com/member/ashwin

    I typed in the URL above in the “Optional Field Link” however once saved and clicked on it does not take you to that page. It just reloads the Staff page.

    Any suggestions?

    Big Thanks
    Janice

    #6146
    Janice
    Participant

    Here is the direct link to the page:

    http://owanorthamerica.org/staff/ashwin/

    It is the One World Friends

    🙂

    #6149
    Bill Robbins
    Moderator

    That one is a goof on my part. Here’s how to fix that:

    1. Go to the appearance section and select edit to open up the theme editor.
    2. From the list of files on your right, choose page-staff.php.
    3. Scroll down to line 50 until you see this:
      
      option_url
      
    4. Replace that with this:
      
      optional_url
      
    5. Save your changes.
    6. Next repeat that same edit in single-staff.php and taxonomy-staff-group.php

    The optional field should work now. If you have any trouble, let me know.

    I’ve also updated the theme to version 2.1.4 which includes this fix.

    Take care,
    Bill

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Optional Field on Staff Page’ is closed to new replies.