Befuture BefDreamer
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Code Placement] Error on Last version of pluginSo, i spec “if not done mistake in my analisys” the last rev of plugin contain 3 DB table “ecp_data”, “ecp_version”, “ecp_options”:
> “ecp_data” fields are “alignment”, “version”
> “ecp_version” fields are “id”, “version”;
> “ecp_options” fields are “id”, “option_name”, “option_value”so inside functions some call use var “version” that not reffer to the “verison(field)” but to the “option_name(field)”.. so i have set the correct correspondecy to SET the field in good way.
Inside the Zip file that I post, there are the Original and the Modified php file ! With a simple compare you can see exactly where I have applied change.
Hope that shi help
Best RegardsHI 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 examplesCUSTOM 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