in my website I have a share option with a facebook icon, that when clicked it open a webpage in a new page, I wanted to try to implement a pop up to open in the original page but with the same content, is it a specific type of target that needs to be called?

Here I leave a code sample:

if(strpos($atts['on'], "fb") !== false) $html .= aTag("".$atts['href'], getImgTagByImageName($atts['fb-icon']), "_blank", $atts['id'], $atts['class']);

Read more here: Create a pop up from a image


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: