Buy Sell Discuss UK Domain Names at AcornDomains.co.uk GoDaddy Domain Name Registration
Domain Meet Weds 5th June in London
Today's Drop Dates are: 12-02-2013 or 19-02-2013   All times are GMT. The time now is 03:36:30 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking
Go Back   UK Domain Forum Acorn Domains > Website Design and Promotion > Content Management Systems > Wordpress
Connect with Facebook

Wordpress Wordpress Blogs

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 05-03-2012, 10:49:44 AM     #1 (permalink)

 
Join Date: Nov 2005
Posts: 2,468
stender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond repute

post question

I have a wp site which I want to fix which posts appear on the homepage. Unfortunately I don't know how to do this and the guy who's theme it is isn't forthcoming with an how to either. As a workaround I'm having to change the post creation dates but am wondering what the effect is if I add a new post today but date it a month or so ago? does google see it as a new post or as dated?

thanks in advance.
stender is offline  
Old 05-03-2012, 11:30:43 AM     #2 (permalink)

 
tifosi's Avatar
 
Join Date: Oct 2004
Location: Lancashire
Posts: 2,505
tifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond repute

All depends on how you have the homepage set up, and the themes home.php/index.php page loop generation code.

In the admin > settings > reading section you can set the homepage to show the latest posts or a custom static page. The latest posts is really the posts that the current themes 'loop' generates. The static page is a page from the pages you have on your site this can be a staticpage or a custom loop.

I've mentioned 'loop' a few times because that's the term WP uses for the section of code that WP uses to retrieve the posts for display. You'll hear of the phrase 'in the loop'.

If you have the above read settings to normal latest posts then look inside your themes index.php page (frameworks like studiopress / woo might use get_template_part functions) to find the section that generated the loop. It will be the section that uses query_posts get_posts or WP_Query. Each has a slightly different methodology but do 'roughly' the same thing, retrieve an array of posts.

WP's default is to retrieve by descending date ie latest post first. The arguments passed to these functions changes the sql used to retrieve the list.

http://codex.wordpress.org/Template_Tags/get_posts
http://codex.wordpress.org/Function_...ce/query_posts
http://codex.wordpress.org/Class_Reference/WP_Query
tifosi is online now  
Old 05-03-2012, 01:04:00 PM     #3 (permalink)

 
bensd's Avatar
 
Join Date: Jan 2007
Location: Wiltshire, UK
Posts: 4,416
bensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond reputebensd has a reputation beyond repute

The easiest way is to create a PAGE (not post) and set that as the homepage via Settings > Reading
bensd is online now  
Old 05-03-2012, 01:13:18 PM     #4 (permalink)

 
tifosi's Avatar
 
Join Date: Oct 2004
Location: Lancashire
Posts: 2,505
tifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond repute

Quote:
Originally Posted by bensd View Post
The easiest way is to create a PAGE (not post) and set that as the homepage via Settings > Reading
Having the setting as show latest posts is still using a page, it's just a hidden page of sorts using the themes index.php/home.php.

Using a custom page would still require the page to have the code to generate the loop if he wants to display a selection of posts by date/category/custom-post-type/whatever. This would either be via a tweaked page template in the current theme or via a forked/custom page template attached to a new page, again with a loop generator using specific parameters either hardcoded in to the page or dynamically via query_vars.

Sound difficult, not really just needs a bit of tinkering.
tifosi is online now  
Old 05-03-2012, 01:35:20 PM     #5 (permalink)

 
Brassneck's Avatar
 
Join Date: Apr 2005
Location: Surrey, UK
Posts: 2,485
Brassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond reputeBrassneck has a reputation beyond repute

I can't check now but there are quite a few 'make sticky' plugins available. I used one for the top post on www.topchristmastoys.co.uk

Stephen.
Brassneck is offline  
Old 05-03-2012, 06:46:16 PM     #6 (permalink)

 
AssetDomains's Avatar
 
Join Date: Feb 2010
Location: Wirral - UK
Posts: 1,426
AssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond repute

Depending on your theme may be just a case of setting sticky posts

http://wordpress.org/support/topic/h...ke-post-sticky

If the developers using custom loops playing with some of this code may help

http://codex.wordpress.org/Sticky_Posts
__________________
Inviting offers on sienna.co.uk
Contact Me: PM on Here | Twitter | Homepage | offers(at)assetdomains.co.uk
Laterooms Wordpress affliate Solution
AssetDomains is online now  
Old 06-03-2012, 10:44:35 AM     #7 (permalink)

 
Join Date: Nov 2005
Posts: 2,468
stender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond repute

I've asked the developer about making sticky and he said he'll have a look but that was ages ago. The support leaves a lot to be desired.

The site layout is more or less done so can't really switch things too much now. The homepage is widgets of recent or popular posts.
I'm not that aufait with the code tbh.

I can pm the url if required.
stender is offline  
Old 06-03-2012, 05:23:44 PM     #8 (permalink)

 
AssetDomains's Avatar
 
Join Date: Feb 2010
Location: Wirral - UK
Posts: 1,426
AssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond repute

Quote:
Originally Posted by stender View Post
I've asked the developer about making sticky and he said he'll have a look but that was ages ago. The support leaves a lot to be desired.

The site layout is more or less done so can't really switch things too much now. The homepage is widgets of recent or popular posts.
I'm not that aufait with the code tbh.

I can pm the url if required.
Yes go ahead and send I'll take a quick look.

Also what happens if you try this

Go to the admin open a post you would want on the homepage
in the publish box on the right click edit next to Visibility: Public
This should drop down with a few options what happens now if you tick
Stick this post to the front page.
Click OK then update and check the homepage.
Does anything happen if not its probably down to the use of widgets to generate the homepage.
__________________
Inviting offers on sienna.co.uk
Contact Me: PM on Here | Twitter | Homepage | offers(at)assetdomains.co.uk
Laterooms Wordpress affliate Solution
AssetDomains is online now  
Old 06-03-2012, 08:06:21 PM     #9 (permalink)

 
Join Date: Nov 2005
Posts: 2,468
stender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond reputestender has a reputation beyond repute

It doesn't have that option on the publish bit.
stender is offline  
Old 06-03-2012, 08:29:05 PM     #10 (permalink)

 
AssetDomains's Avatar
 
Join Date: Feb 2010
Location: Wirral - UK
Posts: 1,426
AssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond reputeAssetDomains has a reputation beyond repute

Are you sure its been core since 2.7 it should be their unless plugin are overriding something
Attached Images
File Type: jpg wordpress.jpg (40.7 KB, 6 views)
File Type: jpg wordpress2.jpg (36.4 KB, 6 views)
__________________
Inviting offers on sienna.co.uk
Contact Me: PM on Here | Twitter | Homepage | offers(at)assetdomains.co.uk
Laterooms Wordpress affliate Solution
AssetDomains is online now  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
UK Post codes WaftyCrank General Board 4 06-03-2008 08:12:42 AM
1st post please help...urgent L00k ccbb77 Domain Appraisals 8 24-02-2008 09:27:12 PM
stopping post going in cats and sub SecNam Wordpress 0 27-12-2007 11:18:09 AM
Marketers, scammers 'taste' domain names - Seattle Post Intelligencer RSS Domain Name News 0 23-02-2007 12:59:16 PM


All times are GMT. The time now is 03:36:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".