Archive code: how to space out each entry?
-
Hi there,
I’d like to add an archive page to my site. I understand that the code [archive] pretty much takes care of this — but it looks awful. I’d at least like to add a space between each entry.
Does anyone have any alternative suggestions?
Thanks very much,
JesseyThe blog I need help with is: (visible only to logged in users)
-
Hi Jessey. In order to assist you, we need the URL of your blog, starting with http:// please. Thanks.
-
I cannot see anything wrong with the dropdown archives widget. I see a normal display.
- You could have a browser issue so try changing your browser settings, refreshing the page, or clearing the browser cache and cookies – instructions for specific browsers.
- Note that when you make adjustments to your browser settings — changing privacy settings, deleting cookies or increasing security — you will need to close your window and restart the browser before those new settings become effective.
I’m using Firefox 3.6.15. Which browser and version of it are you using?
-
We cannot edit the display in widgets. The other options for displaying archives shortcodes on Pages rather than using the Archives widget are found here.
http://en.support.wordpress.com/pages/
http://en.support.wordpress.com/archives-shortcode/ -
I’m not talking about the widget. I’m hoping to create a separate ‘archive’ page using the archive code, and I’d like to alter it so there is a space between each entry. Currently when I use the (archive) code it is just a jammed up list of text.
I’m also having trouble understanding the instructions on the archives instructions page, so I’m hoping someone will walk me through it.
-
There are instructions at the link for several formatting guides.
This is the code I used on an index page to space the lines out a bit.
<div style="line-height: 1.7em;"> test stuff here </div> -
I might be in trouble here – spaced on their short code – my page is a hand coded list (needed to make things in alpha) – works on regular text on a page – neglected to check on the short code.
Sorry – this might not be their answer
-
Just tested:
`<div style=”line-height:2.7em;”>
[archives]
</div>’And I got WAY spaced line spacing, they will probably want to use something like 1.7 and not 2.7
Sorry – no link, the test page is on my live site.
-
-
-
-
Were you in html mode in the editor (click on the html tab on the right side of the bar just above the box where you pasted in the code?
You have two editing modes Visual and html – the short code works in either the other code needs to be put in when the editor is in html mode.
Sorry for the omission.
-
I was in HTML, but it still auto-converted for some reason. I closed the browser and went back in, and we’re all good now…it worked. Thank you for this! It’s still not the best solution –I find WP shortcode to be incredibly limiting– but it will have to do for now!!
Thanks everyone..
-
You be welcome & good luck
Some of the limitations here are for security reasons. The Short Code is one way of giving you pre-done packages of code.
-
Are there instructions anywhere for adding an archive of 1 category to the bottom of a page? I’d like the page to update each time a new post in that category is published.
-
@cjwright: Hi. Please create a new thread, specifying the URL of your blog in the body of your question. Thanks :-)
- The topic ‘Archive code: how to space out each entry?’ is closed to new replies.