Static Homepage + Posts


Author Message
Origin

Posted: 11/11/2011
Quote message 

Hi!

Battling with making my setup work. I have a static homepage with welcome text with images and about 200 words.

I want this to display this at the top of the HOME PAGE ONLY with the latest blog posts below. The blog posts must keep the artisteer format with excerpt (40 words) and thumbnail.

If I change the home PAGE to a POST and make it STICKY , then the artisteer options use auto thumbnail and excerpt options on the sticky post and it looks just like another post , with 40 words excerpt and thumbnail with "continue reading"

This is not what I want, I want the FULL content of my welcome bit of my homepage at the top and the rest of my POSTS as excerpts with thumbnails as per artisteer formating.

I have tried numerous plugins for featured and sticky posts but none delivers.

Can someone please help? Maybe this can be done with a template file?
 
Mr Parrot

Posted: 11/11/2011
Quote message 

One option could be to use the top widget area and put your intro in a text widget. Then use something the Dynamic Widget plugin so that it only appears on your home page.

Ian
 
Gina

Posted: 11/11/2011
Quote message 

I think if to research this topic closely, you may find several ways.

Apart from what Ian suggested, you may also insert the content on this very post in index.php directly between <?php get_sidebar('top'); ?> and <?php if(have_posts()). What ever you write there is shown only on home page.

You may, for example, add the content to a new post, but don't save it, you can see the added content as HTML, so just copy this html from the post editor and paste into the file.

You may try out how it looks by typing just view words in the index.php and see the live site.

You may also embed the html content in divs, so that you can assign it a class.

Anyway, you just try something, and if you need advice we are here to help. It is much easier to tell the exact steps/code when there is a link with some things already done :-)
 
George

Posted: 11/12/2011
Quote message 

I was trying to figure this out too! Thank you for the suggestions!
 
Origin

Posted: 11/13/2011
Quote message 

Thank you for the feedback. I will try these suggestions out.

I am familiar with creating wordpress templates to display specific text / formats on pages but this one has me stumped. I will try inserting the text on the Index page as per Gina and see if it works.
 
Origin

Posted: 11/14/2011
Quote message 

:-(

Gina + Ian...

None of the 2 methods worked 100%. The dynamic widget plugin was ALMOST there, but the only setting that allowed me to show the First Top Widget was to show the widget on all ARCHIVE pages.

This meant that not only did the welcome stuff show on the HOME page (when set as deault) but also on the BLOG page or any other archive.

The welcome text should not show anywhere else except the homepage. Same when I placed the text in the index.php file , now it is showing correctly on the homepage, but also on the blog page... not needed on the BLOG page.

Anyone any ideas? :-/
 
Gina

Posted: 11/14/2011
Quote message 

I think you may try embed for code for a widget plugin in
<?php if (is_home()) { ?>
.....
<?php
}
?>

So it displays only on home page, if your home page is default one. If you have set a custom page for the front one, then it must have an id and you may the code for embedding would be like this:
<?php
if ($_GET['page_id'] == 520) {
?>

......

<?php
}
?>

The link would help =)

 
Lizette

Posted: 7/30/2014
Quote message 

I have a similar problem. I want to create a site with a grid of recent posts, like www.livinglifeunbound.com.

I've tried a million plugins and can't find one that works. I don't know much about code and prefer to keep it as simple as possible.

Advice welcome! Thanks guys.
 
techtom

Posted: 7/30/2014
Quote message 

I use a plugin called shortcodes ultimate which has many great shortcodes to add to your site.

One of them happens to be a shortcode to pull posts and you can set it in many different ways all from the shortcode itself.

http://wordpress.org/support/plugin/shortcodes-ultimate

As far as posts layouts for grids and what not, simple css cn format posts into grids and style however it is needed.

did a simple example here: http://toms-sandbox.com/test1/ will leave it up a few days.

Posts are in two columns from this css

.su-post {
float: left;
width: 46%;
padding: 2%;
}

could be three columns with a simple change to the css

.su-post {
float: left;
width: 30%;
padding: 1%;
}