• hello,

    I have tried my best to read the instructions – but I am having trouble formatting the template page. I have little experience with programming, but do know css. however I cannot seem to get the css to work with the template.

    I am calling the template in my themes folder in the shortcode – ie: comms-class-template

    no matter what I do to this file, nothing seems to change. I would really appreciate a clue as to what I am doing wrong. can you please just start me off with explaining how to wrap the h2 heading tag around the title. this should help me with the rest.

    from the example in the template I tried variations of:
    $lcp_display_output .= $this->get_post_title($single, ‘h2’);

    but nothing I tried worked.

    thanks very much.

    https://wordpress.org/plugins/list-category-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not much to ask. I wish I could help but I’m having the same problem.

    Thread Starter mrcavallo

    (@mrcavallo)

    hi Ian,

    unfortunately the support for this non existent – it is a shame no other plugin is available that does something similar.

    anyway I have managed to get the page looking ok – as per this page:
    http://www.reymondcommunications.com.au/comms-class/
    by using the following in my style.css:

    .lcp_catlist li{
        list-style: none;
    	font-weight: normal;
    }
    
    .lcp_catlist  img {
     float: left;
     margin: 10px 15px 5px 0;
     }
    
    .lcp_title {
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1.2em;
    display:block;
    }
    
     .lcp_date {
    font-size: .9em;
    }
    
     .lcp_author {
    font-size: .9em;
    }
    
     .lcp_excerpt {
     text-align: justify;
     font-weight: normal;
     display:block;
    }
    
     ul.lcp_catlist li:before,
     ul.lcp_catlist li {
     list-style-type:none !important;
     border-bottom: #EDE4D8 solid 1px;
     content:none !important;
     padding-right:5px;
     padding-bottom: 20px;
     }

    and this shortcode on the page:

    [catlist id=7 template=comms-class-template numberposts=5 title_class=lcp_title thumbnail=yes excerpt=yes excerpt_strip=no excerpt_size=70 excerpt_class=lcp_excerpt date=yes date_class=lcp_date author=yes author_class=lcp_author ]

    im sure the code could be improved – but its the best I could do with no support.

    however there are still bugs with this – for one it bolded everything on my page so I had to create separate styles for pretty much everything and add a ‘normal’ font-weight.

    hopefully this helps a little.

    Hey mrcavallo, that was very helpful as a base for making a working shortcode for me. Thank-you for sharing!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘having issues with formatting’ is closed to new replies.