Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress post – list style not working

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35614
    jbope
    Participant

    I 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 3

    So 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.

    #92588
    jbope
    Participant

    Thanks @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

    #92589
    Danjit
    Member

    Looking 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?

    #92590
    Senff
    Participant

    On 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)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.