- This topic is empty.
-
AuthorPosts
-
December 12, 2011 at 10:49 pm #35614
jbope
ParticipantI just bought a wordpress theme and I am trying to customize it a bit. I know html and css fairly well but have not done much WordPress.
When I post to the blog, the list button not not make the text into a list on the main blog page. It instead puts it in one line. Like so…
item 1 item 2 item 3
When i look at the html editor it says that it is indeed using html to specify a list.
When I go to the “single” page it displays it correctly like so…
item 1
item 2
item 3So I am trying to figure out what makes it display differently on those two pages. Here is the code.
BLOG TEMPLATE
$an_blog_perpage = intval( get_wip_option_by('xe_blog_ppp', '5') );
$args=array(
'post_type' => 'post',
'post_status' => 'publish',
'posts_per_page' => $an_blog_perpage,
'ignore_sticky_posts' =>1,
'paged' =>$paged,
);
query_posts($args);
while (have_posts()): the_post();
?>
endwhile;
wip_pagenavi();
wp_reset_query();
?>
SINGLE POST PAGE
>
if(have_posts()):
while (have_posts()): the_post();
?>
—
ID, '_disable_thumbnail', true) !== "1" ) { ?>
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
comments_template( '', true );
?>
endwhile;
endif;
wp_reset_query();
?>
I would be grateful for any info to point me in the right direction.
December 13, 2011 at 6:28 am #92588jbope
ParticipantThanks @stevencrader. I have looked through the css but I am not finding the code to make this happen.
Here is the link http://wp-testing.bopedesign.com/?page_id=104
December 13, 2011 at 6:45 am #92589Danjit
MemberLooking at the source of the (live) front page and single page is appears on the front page it is showing displaying
item 1 item 2 item 3
rather than as a list.
Is it set to only display the excerpt on the front page? can you toggle this option to see if you can tell if this is the source of the problem?
December 13, 2011 at 6:45 am #92590Senff
ParticipantOn the front page, the content is written by using this code:
This seems to strip the content from some tags, if you look in the source code of your page you’ll see that there’s not even any UL or LI tags anymore.
Not sure if this a plugin or part of your theme, but if you replace it with:
or:
(like it is in your single post template), you should be fine.
(BTW, the blue font on black background is a little hard on the eyes)
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.