T
T
Tutucu2016-04-10 18:01:16
PHP
Tutucu, 2016-04-10 18:01:16

How to link to content in fancybox popup in wordpress?

Hey! The site has a fancybox plugin installed, which is responsible for displaying popup windows in which posts are displayed. Now the user clicks on a link like "#content-popup" and a window appears in which the post content is loaded by Ajax by the post id, which is taken from the data attribute in the tag . The problem is that this entry cannot be accessed by link, therefore, you cannot place social buttons. networks, as well as users cannot share and exchange links among themselves. I looked at sites with similar functionality, and get-requests seem to be used there. But I don't fully understand how it's implemented. Tell me please.
<a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2016-04-14
@Qumbeez

Well, that's right, you're just stuffing content into fancybox. In addition, the post must still have a link, otherwise what will you link to in the social network buttons? On fancybox?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question