Users cant see image on index in Wordpress
Friends,on the index page there is image for each tittle but these are not show.
this is web site :
www.manisaihtiyac.com
I think there is a problem right this code :
<div class="yef_resim">
<a href="<?php the_permalink(); ?>">
<img src="<?php echo get_post_meta($post->ID, 'logo', true); ?>" border="0" />
</a>
</div>
Solutions
Nothing is being returned by your function get_post_meta:
<a href="http://www.manisaihtiyac.com/?p=35">
<img src="" border="0">
...
Similar questions
Why cant you place the Loop outside of the index.php?
This may sound like a stupid / noob question. But I'm curious to wonder as to why you can't insert the wordpress php loop functions outside into say a blog.php file but you can in a index.php file? For instance, when I try running all the loop code in say a blog.php file, and linking the pages up nothing shows. I've tinkered with the reading settin...
Cant insert wrapper div into index.php
I'm having an issue inserting a wrapper div into my php index file that we're using for the front page of the site. Right now it looks like this: And it needs to look like this: I'm aware this is a CSS issue, and the fix I can think of is to insert a wrapper div around those 6 divs on the home page, But I don't know where to put the code, which is ...
WP - Developing Locally, cant navigate to pages (trying to go up 1 director for index.php)
I am by no means a WP expert, although I am good at PHP (Dont like using these constricting frameworks). I am revamping the theme of the blog I obtained, and I am doing some custom coding and styling etc. I made a local copy of the site http://localhost/site/ to develop with until I am comfortable uploading it live. Also, I created a local DB so I ...
see only 5 recent posts in index page wordpress
What do I need to do to see only 5 most recent posts in my index page on wordpress? I have this loop: and I tried to sweach it with that: and it only returned errors. What do I need to do?
Image uploaded in media library, can only see it when I using the WP Edit Image feature. 404 when trying to view in browser
I have an image that I've uploaded through the WP media library. I can see this image in my uploads folder via ssh/ftp. I cannot see this image if I put the URL in my browser, like www.site.com/files/image.jpg (It's a multisite and all uploads go into individual folders rather than be separated out by months). In WP, the image shows as broken in th...
Why am I not able to see my new image sizes in gutenberg image size list
I have seen several similar questions, but none of them seem to resolve my issue. I have customised the default thumbnail size and tried to set some custom image sizes, but they are not showing in the Gutenberg image size options - even after clearing, re-generating and re-adding images. The thumbnail size has updated correctly though. Below is the...