|
#1
Sep 9, 2012, 12:44 PM
|
|
http://oneworldnow.net
There is a month archive on the right which I like but when I click on that, only one post shows up not all for that month. I changed the blog page read to 5 and that allows five to show up in the archive but I really want to keep my home page simplified to one post.
How can I fix this?
Thanks in advance!
|
#2
Sep 9, 2012, 12:54 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
You could use a plugin that let's you put a shortcode on the home page and allows for showing only one post.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#3
Sep 9, 2012, 01:49 PM
|
|
Can you suggest a reliable plugin?
Thanks so much!
|
#4
Sep 9, 2012, 05:14 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
TPG Get Posts is one.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#5
Sep 10, 2012, 04:02 AM
|
|
I downloaded this and others and I cannot see how to put code in the homepage. It seems to only allow for individual posts. No information is given further on these plugins or the short code..
What do you know of this? Where is the homepage php document?
Thanks again!
|
#6
Sep 10, 2012, 04:33 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what do you have set at dashboard->settings->reading->Blog pages show at most?
this value controls how many posts show on any multi post page and the archive page is a multi post page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Sep 10, 2012, 05:09 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
To use TPG Get Posts you need to change your setting in Settings>Reading to use a static page as the front page.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#8
Sep 10, 2012, 05:53 AM
|
|
I have it now set to one which is what I want for the entry page, but I also want the archives on the right-hand bar to show more than one post when a month/year is called up.
What I would like is the latest page on the front page, but for index/archives, I really do need that a list can be displayed of all articles for said month/year/topic.
Last edited by disfasia; Sep 10, 2012 at 05:56 AM.
|
#9
Sep 10, 2012, 09:21 AM
|
|
Wont the static page remain always the same, not the last posted?
Thanks again.
|
#10
Sep 10, 2012, 09:49 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Quote:
Originally Posted by disfasia
Wont the static page remain always the same, not the last posted?
Thanks again.
|
You use the static page with the TPG Get Posts plugin and shortcode.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#11
Sep 10, 2012, 10:54 AM
|
|
I am still trying to make this work but in the meantime a buttton has appeared on my menu: "Home".
How do I remove this?
Thanks
|
#12
Sep 10, 2012, 11:04 AM
|
|
I removed the Home link but still struggling to get this code to work.
|
#13
Sep 10, 2012, 11:21 AM
|
|
I created a X page and put [ tpg_get_posts numberposts=1 ] in it. This does not work. Any ideas?
|
#14
Sep 10, 2012, 11:28 AM
|
|
Now I have figured it out BUT...it doesn't work. In other words, the [ tpg_get_posts numberposts=1 ] works fine on my test home page but when I set the number of blog posts back to 10, it still loads 10 pages on the home page.
|
#15
Sep 10, 2012, 11:40 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
It looks like you have a space after the opening and before the closing bracket causing the shortcode not to work.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#16
Sep 10, 2012, 11:41 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Create a page - call it 'new home' for now
Put the short code in with number posts=1
At settings->reading
A) set number of posts to 10
B) set front page displays - point this at 'new home'
Now the front page should go to 'new home' and display 1 post while the archive shows 10
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#17
Sep 10, 2012, 11:43 AM
|
|
Thanks so much lmilesw and Juggledad. That worked. It was the space.
Now how to make that title of my "X" page disappear from the home page..so that the size, font, etc are the same as the other posts! I notice the other menu posts, for instance, don't have at the bottom of the page:
"No Comments » | Filed under: Politics | Tags: No Tags"
How can I remove this?
I imagine to remove the X from the menu I just create a custom menu.
Thanks again!
Last edited by disfasia; Sep 10, 2012 at 12:02 PM.
|
#18
Sep 10, 2012, 12:24 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
You can turn on Post/Page options in the theme settings and then uncheck the box on that page so the title doesn't show or you can use CSS for that page to hide the title. The items on the bottom are handled in the Post/Page Info section of the theme options.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#19
Sep 10, 2012, 05:32 PM
|
|
I am going bald here. I think the scripts made my colors and sizes of fonts change because suddenly after installing it, they were altered.
I have fixed most everything but i am still stuck for the homepage http://oneworldnow.net/
1. How do I remove the X title?
2. How do I remove the byline? (It doesnt' show at all for the other posts)
3. How to remove this last line before the grey:
No Comments » | Filed under: Politics | Tags: No Tags
Thanks for any and all help!
Last edited by juggledad; Sep 10, 2012 at 07:07 PM.
|
#20
Sep 10, 2012, 07:07 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
to have the X not display, you can just use 'display: none;' for the element
to remove the byline, look at the page/post info item options
wat last line before the grey?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#21
Sep 11, 2012, 01:14 AM
|
|
Yes, I tried that..but when I get rid of the X I get rid of all headlines. Is there a way to control only that front page?
And I don't think the byline is called the byline for the X page as I have used display: none; for that and it doesn't turn it off....
And then I tried going through style.css but there nothing changes either. And I am used to changing style sheets.... ???
Last edited by disfasia; Sep 11, 2012 at 04:31 AM.
|
#22
Sep 11, 2012, 04:23 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Quote:
Is there a way to control only that front page?
|
yes, prefix the CSS selector with 'body.page-id-xx' where xx is the page id - you can fine that by going to the page, look at the source and do a search for '<body'
Quote:
And I don't think the byline is called the byline for the X page as I have used display: none; for that and it doesn't turn it off....
|
once again, look at the source of the page to find the HTML elements and ID/classes assigned to it - the FireBug extension of FireFox is a great help doing things like this - you can even change the CSS on the fly to see it's effects. Learn to use it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#23
Sep 11, 2012, 04:49 AM
|
|
Thanks... So do I edit from ATO pages or from the style.css file? Or do I create a custom.css file?
I have used Firebug but when I tried to replicate the commands it didn't work. But then I might have put them in the wrong place.
Last edited by disfasia; Sep 11, 2012 at 05:05 AM.
|
#24
Sep 11, 2012, 05:09 AM
|
|
I have put:
body.page-id-2046
.h1 {font-size: 0px;}
In the style.css and nothing changes... I have also tried display: none; etc.
|
#25
Sep 11, 2012, 05:10 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
you can add custom CSS at ato->add HTML/CSS Inserts->CSS Inserts and then they are stored with the rest of the theme options, no editing of code needed.
Quote:
I have put:
body.page-id-2046
.h1 {font-size: 0px;}
In the style.css and nothing changes... I have also tried display: none; etc.
|
if that is exactly what you put in, it won't do anything since the CSS selector (the part before the {...}) is looking for a class of h1 (the period indicates a class)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Sep 11, 2012 at 05:13 AM.
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
|