• Resolved Michiel

    (@michiel)


    Hi, is it possible to move the Exhibit description field to the WP Gallery title field? This way the old Exhibit descriptions get nicely shown in e.g. lightbox. I have been checking your code but not quite sure what I need to swap to make this happen:-)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Michiel

    (@michiel)

    Is it on line 224, changing
    'post_title' => $title,

    to:
    'post_title' => $content,

    ?

    And if I want the WP Gallery content field to be empty could I remove line 225?
    'post_content' => $content,

    Just want to be sure before trying it out:-)

    Thread Starter Michiel

    (@michiel)

    Found it!

    Line 132

    From:
    $postdata = array('post_excerpt' => $p->caption, 'menu_order' => $p->picorder);

    To:
    $postdata = array('post_title' => $p->caption, 'menu_order' => $p->picorder);

    Slowly getting to know PHP;) Now trying to figure out how to get the image post_title displayed under an image on single pages.

    Fantastic, Michiel! Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Exhibit to WP Gallery] Exhibit description to WP Gallery Title field’ is closed to new replies.