Baileyph
Member
Posted 1 year ago #
I am currently trying to post an image in my blog post (JPG), and when I preview the post, the image is inserted and everything looks perfect. When I actually publish, the image is not in the post. Anyone have any idea what is going on? Am I using the wrong file type?
Check your uploads path in Settings->Media.
Baileyph
Member
Posted 1 year ago #
What exactly am I looking for? Both fields under "Uploading Files" are blank.
Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific assistance.
Baileyph
Member
Posted 1 year ago #
link to the blog post with no picture:
http://willsreport.com/
link to preview:
http://willsreport.com/?p=24&preview=true&preview_id=24&preview_nonce=5724636a24
link to settings page?:
http://willsreport.com/wp-admin/options-media.php
I'm unsure about which page I'm actually supposed to link?? Considering it's the image in the post giving me the problem and not a specific page.....
Your theme's index.php template file appears to be using <?php the_excerpt();?> instead of <?php the_content();?> in its template files. Simply edit the file and replace <?php the_excerpt();?> with <?php the_content();?>.
Baileyph
Member
Posted 1 year ago #
I'm sorry, but I am looking under
Editor->Main Index Template (index.php) and I really cannot find the section that says <?php the_excerpt();?>. Am I just not seeing it? I have looked like a million times. Am I in the wrong section under under Templates?
Link to the page I am looking at:
http://willsreport.com/wp-admin/theme-editor.php?file=/themes/fusion/index.php&theme=Fusion&dir=theme
We can't see files in your Admin area. Try placing a copy of the file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.
Baileyph
Member
Posted 1 year ago #
Ok, here is my index.php file on pastebin. If anyone can spot the problem with the file that is making my images not show up in my blogposts, please let me know.
Baileyph
Member
Posted 1 year ago #
http://pastebin.com/BBUUmKdw
this didn't show up in my last post for some reason
Baileyph
Member
Posted 1 year ago #
Ok, I inserted <?php the_content();?> at the end of line 28, and the images are showing up in the correct place. The only problem is that now, the post text is doubled. What is going on there? Did I insert the code into the wrong place?
I think you need to remove <?php fusion_current_post_length(); ?>
Baileyph
Member
Posted 1 year ago #
That worked! :) Thanks a lot