Photos in posts

February 2013 WordPress Theme
GK User
Mon Feb 25, 2013 3:34 am
I am pulling news articles into my posts and the problem is that I would like the photo to display on my homepage. If you select the read more button then the photo along with the entire article displays. How do I get the photo to display on the homepage or another way would be to print the entire article on the homepage, not a summary. Is this possible?

site: http://www.theapppage.com/blog
User avatar
Fresh Boarder

GK User
Mon Feb 25, 2013 8:17 am
Hi,

You should use the Featured Image feature in your posts: http://codex.wordpress.org/Post_Thumbna ... _Thumbnail
User avatar
Administrator

GK User
Mon Feb 25, 2013 2:37 pm
I think the real question I need answered is "Is there a way to post the entire article (including) photo on the home page? My articles are rather short and I would prefer the entire article to show.

Also, can you take a look at this feed.

http://theapppage.com/blog/?p=582

this post is from the apple app rss feed. How would I control the formatting (what file would I manipulate?), is it controlled by the rss feed or the theme template. I know the fee looks quite different in my previous theme, so I am assuming it is a theme file...but which one?
User avatar
Fresh Boarder

GK User
Mon Feb 25, 2013 3:26 pm
1) To show the whole article on the frontpage please open content-*.php files and change line:
Code: Select all
<?php if (is_search() || is_home() || is_archive() || is_tag()) : ?>


to:
Code: Select all
<?php if (is_search() || is_archive() || is_tag()) : ?>


2) If you want to format this list I recommend you to use the the css/override.css file (please remember to enable the override.css file in the theme's advanced settings) - and then put in this file necessary CSS rules, because currently it uses the theme's default list styling (defined in the css/shortcodes.typography.css file).
User avatar
Administrator

GK User
Mon Feb 25, 2013 5:12 pm
Sorry, it did not work for me. I changes all 11 content-*.php files to remove the is_home code and still not getting photo as seen:

http://www.membersonlygame.com/blog/

Any other thoughts? Looking into your suggestion on other item

I really do appreciate your quick responses...thanks.
User avatar
Fresh Boarder

GK User
Mon Feb 25, 2013 5:20 pm
Could you provide me an FTP access to your website using the PM message?
User avatar
Administrator

GK User
Mon Feb 25, 2013 7:55 pm
Problem fixed - I forgot to write that you have to also change the code in the content.php file.
User avatar
Administrator


cron