If you are using bootstrap then you can try the code bellow:
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Popup image</button>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img src="https://placehold.it/1000x600" class="img-responsive">
</div>
</div>
</div>
</div>
Related Posts:
- Style the text before in single.php
- Ignore a more tag when using get_the_content()
- Woocommerce “read more” instead of “add to cart” [closed]
- Turning the read more link into a button [closed]
- How to use read more text
- read more doesn’t display
- Exclude the content before “the more” on single posts
- How to remove #more… from the post “More” link?
- Excerpt Is Disappeared
- WordPress adding a to my anchor for Read More
- Wrap More Link in Div
- Extra text… after read more tag
- How to change the “Read more” text?
- wordpress 3.8 do not have more button [closed]
- How to change the text generated by Tag
- “Read More” link not displaying
- What code in the WP Sinatra theme generates the words “Read More?”
- How to automatically add Read more section after the first paragraphe in post?
- create a read more link for post and archives
- Bad “read more” behavior, trying to fix by inserting tag
- Can’t Get the Read More function to work in the child theme
- Read More link, not visible on home page
- How to customize ‘read more’
- “Read More” button displays on individual Posts
- Read more link isn’t working with custom query
- Read More link scrolling page
- Read more content not displayed loops back to blog page
- why more tag is not working in my wordpress site
- How to end the excerpt with a sentence rather than a word?
- Only show content before more tag
- Hide/show content starting in the middle of a paragraph
- Read more tag shows up on EVERY post
- not functioning
- Text after more tag in posts
- “More” span making trouble
- Exclude filter on front page
- Read more on the post page itself
- Get the link text
- How to make a button?
- Do not show excerpt in post content
- How to create a load more post entries like Twitter?
- How to delete read more span on single post view?
- Redirect to page 2 after comment
- Using More Tag in Combination with the_excerpt
- Add a tag to a custom post type
- How to use “show more” on a page or post to show and hide content
- WP Bakery Load More Button loads the same posts
- Excerpt using Read More Tag
- Read more link to external webpage
- Any Ideas for Including “More Tag” with get_pages($args)?
- Change Read More in Child theme
- Add Read More Tag to a post content (Single.php)
- new_excerpt_more link not working properly
- read more, even if excerpt not trimmed
- Login after “Read More” then return to article
- How to wrap “Read More” link in a DIV tag?
- Remove Content after
- Problem with viewing single page correctly. (taken half way down the page on click through)
- help
- How to use Readmore.js? [closed]
- Remove the More Link
- Read more to open external link
- Prepending character(s) to a custom tag title?
- More tag – how do I remove preceding ?
- More tag locked in Hemingway
- Child Theme’s Read More Text
- WordPress truncate posts question (plugin related)
- more tables created when create a new site
- Remove ‘read more’ link when post is shorter than excerpt
- WordPress does not hide content after “Read more” block added using gutenberg editor
- “Continue reading” not on some posts, full excerpts not shown
- Why does modifying the “read more” link remove the link class?
- How to enable read more by default using jquery
- Changing text for “Continue reading…” translation
- “read more” redirects to the wrong page
- How to use limit post content on archive page in WordPress?
- Remove Default Read More Link in Manual Excerpt RSS Feed
- How can I hide/show text only for mobile users?
- Read More showing only on first post
- How to add a “Read more” button to my blog?
- Put teaser content, more-link and full content in different divs if existing… Possible?
- How to get sort content by page id?
- Different read-more link for each custom post type [closed]
- need help with ‘… read more’ excerpt in functions.php
- get “read more” with custom DB query like you would with WP Query
- multiple excerpt length and styles
- how to use the_excerpt for two post queries?
- Add read more to the_content
- Get the More QuickTag button back
- Remove read more
- How to add an excerpt and read more link to a page?
- WordPress excerpt for specific posts in category
- Plugin:Read More Right Here , How to change the name (more…) to Read More
- Best way to modify content from index.php to single.php?
- how to show content of latest blog post with read more link?
- Search results highlight breaks my read more link
- Category articles “read more” links not active
- Read more button not working
- Remove the excerpt and “… Read More” from the featured content on the home page with child theme
- Is there a way to display the ‘Read more’ link if it’s within a range?