• Resolved Divvy

    (@divvy)


    Hello. I would love to use your plugin, but I need to know first if is possible to use a php code to add on single.php to show the gallery images in a specific localization of a post. Is it possible? If yes, what code should I use? Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Cristian Raiber

    (@cristianraiber-1)

    @divvy – could you please elaborate a little on this?

    Thread Starter Divvy

    (@divvy)

    @cristianraiber-1, thank you for your response. I want to create a gallery section in my posts template, for that I need a PHP code to show the gallery attached to that post instead using the shortcode in the post body ??

    I hope you understood what I need…

    Plugin Author Razvan Aldea

    (@raldea89)

    Hello @divvy,

    You can use the do_shortcode function of WordPress and do Modula’s shortcode dynamically using the post’s attached gallery ID ( assuming you are attaching the gallerie’s ID to the post – if not, please give some info about this ).

    Hope this helps.
    Warmly,
    Razvan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP code to show the images in a specific localization of a post?’ is closed to new replies.