$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Images showing up in Post Editor, but not in Published Post|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Images showing up in Post Editor, but not in Published Post

matteradmin8PV0评论

I am trying to add three images by just inserting them into the post here: /

Although I can see the images perfectly in my Media Library as well as in the post editor itself, somehow they don't show inside the actual post (only their captions).

I have never encountered this issue before, would someone please be so kind to assist me?

I am trying to add three images by just inserting them into the post here: http://www.ihts.nl/wie-wij-zijn/

Although I can see the images perfectly in my Media Library as well as in the post editor itself, somehow they don't show inside the actual post (only their captions).

I have never encountered this issue before, would someone please be so kind to assist me?

Share Improve this question asked Nov 20, 2018 at 15:42 RosaRosa 32 bronze badges 2
  • what are the image names? – RiddleMeThis Commented Nov 20, 2018 at 16:07
  • For instance, this is the image that should show up above 'Theo Poort': ihts.nl/wp-content/uploads/politie.jpg – Rosa Commented Nov 20, 2018 at 16:19
Add a comment  | 

1 Answer 1

Reset to default 1

The image is there. If you view the source you can see it. If you inspect the image in your browser you can see its hidden with CSS and set to display:none;

This is the style your theme is applying.

.single .entry-content img {
    display: none;
}

You will need to override that style with your own.

.single .entry-content img {
    display: block;
}
Post a comment

comment list (0)

  1. No comments so far