Hi , im a php noob!
i would like to change the output of the
< ul > to <div>
and the output of the
< li > to <p>
how to do this?
please keep in mind in a noob.
so if u could let me copy paste stuff that would be awsome.
Please help :)
Hi , im a php noob!
i would like to change the output of the
< ul > to <div>
and the output of the
< li > to <p>
how to do this?
please keep in mind in a noob.
so if u could let me copy paste stuff that would be awsome.
Please help :)
still no replies :(
You don't need to know PHP to do what you want to do. You just need to read the docs and search for the template parameter.
template - File name of template from templates directory without extension. Example: For 'template.php' value is only 'template'. Default is 'default', which displays an unordered list (ul html tag) with a CSS class. This class can be passed as a parameter or by default it's: 'lcp_catlist'. You can also use the default 'div' value. This will output a div with the 'lcp_catlist' CSS class (or one you pass as parameter with the class argument). The inner items (posts) will be displayed between p tags.
So you should just pass this parameter:
template=div
It totaly worked. I feel like such a dumbass not reading the documentation well...
I do have another question i do not find in the documentation...
-I would like to be able to set the backgroundcolor depending on what category it is
- i would also like to not have the title shown if there is a thumbnail...
Can u help me :)
You must log in to post.