HI kendawes..
do change tittle but also all the parameter of the post you need to use your custom CCS…
So the plugin use standard Worpress code and is identifie via some html class element… “display-posts-listing” .. see my examples
CUSTOM CSS EXAMPLE FOR GLOBAL SETTING OFF ALL THE POST IN BLOG
.display-posts-listing .title {
font-size:0.9em;
font-weight:bold;
}
.display-posts-listing .excerpt {
font-size:0.9em;
margin-left: 4px;
margin-right: 4px;
}
.display-posts-listing img {
width: 294px;
float: center;
margin: 0px 0px 5px 0px;
}
If you want create different post listing on the blog, so have different list with different tittle model… have to add to your shortcode the param “wrapper_class”. But remember that there is a dafault wrapper class, active when you not use it, and is..
wrapper_class=”display-posts-listing”
So you simple have to add to your shortcode the parameter as follow, and define a specific class for your customization “a-display-posts-listing”, so use this class in custom CSS to config layout.
[display-posts id=”2502″ title=”this is my title” post_type=”post” image_size=”square” wrapper_class=”a-display-posts-listing” include_excerpt=”true” include_title=”false” wrapper=”div” ]
Here the CSS example to customize lay-out
.a-display-posts-listing .title {
font-size:0.9em;
font-weight:bold;
}
.a-display-posts-listing .excerpt {
font-size:0.9em;
margin-left: 4px;
margin-right: 4px;
}
.a-display-posts-listing img {
width: 294px;
float: center;
margin: 0px 0px 5px 0px;
}
In case need specific help contact me !!
Hope helped you !
Best Regards
Hi Befuture,
Thank you for your reply, but I think you misunderstand my question.
I don’t have a problem with the css and the shortcodes – I’m familiar with the “wrapper_class”.
Using the example I provided, the text used in [ title=”this is my title” ] (i.e. this is my title) will show on the front end wrapped with an h2 tag.
I want to be able to select the h tag for any particular shortcode usage… Not make a global change to use some particular h tag, but be able to make each shortcode instance the h tag I want for that particular instance. i.e. some shortcodes will have h2 wrapped around the title, others h3, etc.
Well, as much as I hate hacking plugins…
I wanted the flexibility to choose the tag used around the title, so instead of using the code currently used to generate the shortcode_title, I basically copied and repurposed the code for the wrapper in its place.
Now from within the shortcode I can call title_wrapper=”h3″ or whatever HTML tag I want around the shortcode_title.
Maybe it could be done in the next revision Bill???