How to insert this php code via Function or PHP code actions

@fogseller to do that without having to manually edit after export:

#1 Use The Loop action (not Show Posts) and select “Args in own PHP block”.

This adds a PHP block where the query args are defined. PG changes this code whenever you change the The Loop action settings.

#2 To customize parameters, add your own PHP block AFTER the PHP block with query args and modify the args there.

Enjoy the rain! :slight_smile:

4 Likes