D
D
Dmitry2016-05-05 11:17:14
PHP
Dmitry, 2016-05-05 11:17:14

How to automatically wrap images in WP?

There is a blog on WP.
For the convenience of users, I want them to open in fancybox when they click on the picture.
This can be achieved manually by editing the image in the post through the WP admin.
https://db.tt/zChAg40C
I want this wrapping to happen automatically,
the attributes of the link are always the same

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aarty20, 2016-05-06
@aarty20

you can try to write a rule in image.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question