Cannot get blog on homepage???

resolved (32 posts) (7 voices)

  1. Iangoolsby
    Member

    I have gone through my setting multiple times and cannot get my blog post to show below the slider on the homepage. Please advise... HELP ? Thanks

    http://dev.oquinnclothing.com/wordpress/

    Posted 1 year ago #
  2. Elliott
    Support

    Hello langoolsby,

    Do you have a blog page that is working correctly but it just does not display on the homepage?

    And you checked your page to show on the homepage as seen in the image?

    Attachments

    1. 1.jpg (41.3 KB, 5 downloads) 1 year old
    Posted 1 year ago #
  3. signaturedd
    Member

    I'm having the exact same problem as langoolsby and some other users who have written in with the same problem. Based on the answer given in another post, I've followed the instructions on how to make this work, but still have a homepage that contains the slider, teaser and then no main content (where the blog should be). Here is the address: http://signaturedigitaldesign.com/clients/jmb/blog/

    And I've attached screenshots from the 3-step process given as the solution in the other post:

    Step 1: Create a page (which I named News) - see top screenshot.
    Step 2: Go to inFocus admin/Blog section and select that page as your blog (see middle screenshot where "News" is selected for the blog page)...this works as you can see it is in the top navigation on the live site.
    Step 3: Go to inFocus admin/Homepage section and select that page to be your Homepage Main Content (see bottom screenshot where "News" is selected.

    But still no blog posts on the home page. Can you assist?

    The setting on the homepage main content is not pulling the blog page into the home page and I've seen this question a few times here in support - so I believe it's a widespread issue. Can you assist? Thanks!

    Attachments

    1. infocusBlog.jpg (73.5 KB, 33 downloads) 1 year old
    Posted 1 year ago #
  4. Elliott
    Support

    I created a fix for this but for now you will have to use the default sidebar.

    If you have your slider set to display images from categories then download and extract the attached file featured-categories.php and extract it to /wp-content/themes/infocus/lib/includes/.

    If you have your slider set to display custom images then download and extract the attached file featured-custom.php and extract it to /wp-content/themes/infocus/lib/includes/

    If you want to revert back to your original homepage then make sure to create a copy of your theme directory before trying out these files.

    Let me know if it works for you all.

    UPDATE - There was a small bug in the featured-custom.php file regarding loading images, use the fixed version.

    Attachments

    1. featured-custom-fixed.zip (2.1 KB, 63 downloads) 1 year old
    2. featured-custom.zip (2.1 KB, 49 downloads) 1 year old
    3. featured-categories.zip (1.9 KB, 36 downloads) 1 year old
    Posted 1 year ago #
  5. signaturedd
    Member

    Hi Elliott -

    I think I posted my "me too" on the wrong question for help! I was actually meaning to post it on the question that says I can't get my blog to be the home page of my site. I don't want any slider on my homepage -- just the blog to be delivered when someone goes to the index.php page. Thanks and sorry for the confusion!

    Posted 1 year ago #
  6. Elliott
    Support

    If you wish to disable your slider then add this line in /wp-content/themes/infocus/style.css

    #home_feature { display: none; }

    If you want your blog on your homepage then try these files out and let us know if they work for you.

    Posted 1 year ago #
  7. signaturedd
    Member

    Thanks, Elliott - I found another post here in support that also included a .php file for template-blog to be replaced and so I did that also. Combined with your #home_feature {display:none} info - all working fine for me now. Thanks for the quick response -- you guys are really on it for support - which is why I've bought all three inFocus templates available now (html, wp, eShop)! :)

    Posted 1 year ago #
  8. Elliott
    Support

    Glad it worked for you signaturedd, marked as solved and added to tutorials.

    Posted 1 year ago #
  9. Elliott
    Support

    One of our users was having trouble with images loading when using the featured-custom.php file.

    If anyone is experiencing this also then try this..

    Open up /wp-content/themes/infocus/lib/includes/featured-custom.php and around line 171 you should see this..

    <span class="rm_portfolio_img noscript"><img src="<?php echo $post_image; ?>" alt="" /></span>

    Go ahead and change it like this..

    <img src="<?php echo $post_image; ?>" alt="" />

    Posted 1 year ago #
  10. Iangoolsby
    Member

    where do I put the featured custom file again???

    Posted 1 year ago #
  11. Elliott
    Support

    Extract it here, /wp-content/themes/infocus/lib/includes/

    Posted 1 year ago #
  12. Iangoolsby
    Member

    My featured-custom file only has 126 lines...? Do I have the wrong one?

    Posted 1 year ago #
  13. Elliott
    Support

    Hello langoolsby,

    Your trying to get your blog to show up on your homepage right? Did you download the file in my above post?

    Follow the instructions above and let me know if it works for you. If everything works fine then you do not have to edit anything.

    Posted 1 year ago #
  14. Iangoolsby
    Member

    I did download the file and the blog is working on the homepage however the thunbnails images are not showing up in the posts.

    Posted 1 year ago #
  15. Elliott
    Support

    I went ahead and did the change for you.

    Download and extract to /wp-content/themes/infocus/lib/includes/. If it does not work for you then try deleting /wp-content/themes/infocus/lib/includes/featured-custom.php and then copying it over again.

    Sometimes FTP editors have trouble when overwriting files.

    Let us know if this worked for you langoolsby.

    Attachments

    1. featured-custom.zip (2.1 KB, 35 downloads) 1 year old
    Posted 1 year ago #
  16. Iangoolsby
    Member

    working thanks so very much... now if I can only get the prettyphoto plugin to work when I add galleries to blog posts.
    http://dev.oquinnclothing.com/wordpress/?p=200

    Posted 1 year ago #
  17. Elliott
    Support

    Posted by agustin320:

    hello, I've used the method mentioned here: http://mysitemyway.com/support/topic/cannot-get-blog-on-homepage for including the blog on the homepage, and also I've modified to show the images with <img src="<?php echo $post_image; ?>" alt="" />, but now, i go to my blog page and the images aren't showing :S

    -----------------------------------------------------

    Hey agustin320,

    Are you using the featured-custom.zip or the featured-categories.zip? If you are using the featured-custom.zip then make sure to try the second attached file.

    Are your images not showing up at all or do you see a spinning circle?

    Posted 1 year ago #
  18. agustin320
    Member

    I've installed both(modified both with "<img src="<?php echo $post_image; ?>" alt="" />") , and it shows up a circle but it never loads the image, this only happens on the blog page, on the mainpage the images diplays normaly

    Posted 1 year ago #
  19. Elliott
    Support

    If possible then set me up with WP Login and FTP information agustin320 and I will take a look at this.

    Posted 1 year ago #
  20. thejackyjackjack
    Member

    Hi Elliot,

    This seems to work fine, with one exception, When I select the categories that I want to exlcude, it cancels out posts that belong to two categories, and I end up not seeing my blog.

    Example:

    Post X belongs to Category X and Y

    If in the options section under "Blog" i instruct the blog to hide category X, category Y will no longer show up either...

    Please tell me how to fix this... thanks :)

    Posted 1 year ago #
  21. Elliott
    Support

    Hmm, I don't see a good way of accomplishing this thejackyjackjack,

    How the category exclusion works is check if a post belongs to a category and if it does then it excludes it completely. We can switch the query to only include categories that you choose,

    How many categories do you have?

    Posted 1 year ago #
  22. thejackyjackjack
    Member

    Hi Elliot,

    Will switching work? The thing is that I would like to have my "blog" work like a portfolio (except with a sidebar) and display only one category( the news category ). In the news I have the latest news from several categories. I downloaded the "featured-custom-full.zip" and that worked great, except it removed the homepage sidebar. If we switch it, and I select only the news category will that work with items that belong to more than one category? Or is there any way to set up a "portfolio with sidebar" as this seems would be the ultimate solution. Thank you for the awesome support so far :)

    Posted 1 year ago #
  23. Elliott
    Support

    If we select just the News category then it will bring up any post that is assigned to News. This means that if you have posts that are assigned to both News and Portfolio (etc etc) then it will bring those up also.

    Is this what you were wanting?

    Posted 1 year ago #
  24. thejackyjackjack
    Member

    Hi again,

    Yes, all I want is for one category to show up, if post X belongs to Category X and Y. I want all the post that belong to category X to show regardless of what other categories they may belong to... I hope I am not confusing you... thanks ;)

    Posted 1 year ago #
  25. Elliott
    Support

    Alrighty, open up your file and on line 139 you should see this..

    $query_string = "cat=".$exclude_blog_cats."&paged=$paged";

    Go ahead and change it like this..

    $query_string = "category_name=News&paged=$paged";

    If that does not work then change it like this..

    $query_string = "cat=15&paged=$paged";

    Where 15 is the category ID you want to display. You can view your category ID's by going to the Blog tab and clicking on some to exclude them. The numbers that appear in the text field below are the category ID's.

    Let us know if this works for you thejackyjackjack.

    Posted 1 year ago #
  26. thejackyjackjack
    Member

    Hi :)

    Sorry for the late reply, I was out of town, and stopped working on my site for a while. The first solution ( $query_string = "category_name=News&paged=$paged";) seems to have done the trick. Thank you very much for your help :)

    Posted 1 year ago #
  27. sc00by9999
    Member

    Ive used the featured-custom.zip from above to get my blog on the homepage, and it works great. However my slider wont rotate anymore. It shows the first image and the little toggles for the next 3 images, but it doesnt rotate. clicking on the toggles doesnt do it either. I am using custom images in the slider.

    http://kellarphotography.com

    Posted 1 year ago #
  28. Elliott
    Support

    Hello sc00by9999,

    Have you done any customizations? It looks like your site is trying to load a bunch of files but they are not being found.

    Go ahead and download a fresh copy of inFocus 1.6 and deactivate / reactivate your theme to see if this solves it.

    Posted 1 year ago #
  29. sc00by9999
    Member

    The only customizations I did were to add the blog to the homepage using the files from this thread. It is strange, I can get the first image to load regardless of what/where it is located..I am going to try and reload the theme

    Posted 1 year ago #
  30. Elliott
    Support

    I don't see any javascript errors but it is most likely javascript related. Try disabling your plugins to see if there is a plugin conflict. This may also fix all of the scripts that are trying to load but cannot be found on your site.

    Posted 1 year ago #
  31. Now i purchased INFOCUS version 2.3. I need to put my blog in homepage. Can you explain me 'How to insert blog under my Slider' ?

    Posted 9 months ago #
  32. Elliott
    Support

    Hello Heshan,

    Navigate to Dashboard -> inFocus -> Homepage and there will be an option called "Display Blog Posts". Make sure that option is checked.

    http://mysitemyway.com/docs/index.php?title=Homepage

    Posted 9 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme