![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking |
| |||||||
| Wordpress Wordpress Blogs |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | 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. |
| |
| | #2 (permalink) |
![]() |
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 |
| |
| | #3 (permalink) |
![]() |
The easiest way is to create a PAGE (not post) and set that as the homepage via Settings > Reading
|
| |
| | #4 (permalink) | |
![]() | Quote:
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. | |
| |
| | #5 (permalink) |
![]() |
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. |
| |
| | #6 (permalink) |
![]() |
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 |
| |
| | #7 (permalink) |
![]() |
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. |
| |
| | #8 (permalink) | |
![]() | Quote:
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 | |
| |
| | #10 (permalink) |
![]() |
Are you sure its been core since 2.7 it should be their unless plugin are overriding something
__________________ Inviting offers on sienna.co.uk Contact Me: PM on Here | Twitter | Homepage | offers(at)assetdomains.co.uk Laterooms Wordpress affliate Solution |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
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 |