PluginUs.Net - Instrumente de afaceri pentru WooCommerce și WordPress

[realizează-ți ideea - fă-ți visele să devină realitate]

Lansarea InPost Gallery 2.0.5

  • , Actualizat:

Big improvement in the plugin functionality:

  • S-au adăugat expresii speciale pentru selectarea imaginilor de ieșire
  • Added fancy box script

Expresii speciale

For example: you want to output 2 first images from 4 last posts. From now no problems. Just paste {'slug':'post','exec':'take','data':('4:DESC:2:first')}  in popup field "Post id"  and that is all!

 

Now supports 2 commands (exec): lua,takebyid.

Let's consider them.

{'slug':'post','exec':'lua','data':('4:DESC:2:first')} - producție 2 mai întâi imagini din 4 last(DESC) posturi

stăvili - slug of post or any custom type. Depends of your decision.

Exec - command (take,takebyid)

de date - data by which queries posts. In this example 4 mean count of posts, DESC or ASC - sort order by date, 2 - conta of images from each post, primul or ultimul- take 2 first /last  images.

 

 {'slug':'post','exec':'takebyid','data':('230:4:last','232:2:first','234:1:last')} - take 4 last images from post with ID 230, take 2 first images from post with ID 232, take 1 last image from post with ID 234. In such order as in expression images are outputted.

stăvili - slug of post or any custom type. Depends of your decision.

Exec - command (take,takebyid)

de date - '230:4:last' =>'posrID,ImagesCount,first or last images to take'

notițe: be attentive with the syntax, and do not write spaces, another way you get error.

If you have any idea about a query combination write in comments, maybe I will consider them =)

 

 

 

WOOBE - WooCommerce Bulk Editor și Products Manager Professional