[Plugin: List Category Posts] edit default template
-
Theme: Twentyten (child)
Installation: local, multisite network enabledI would like to edit the styling of the plugin’s output.
For instance, default.php outputs like this:
if ($cat_link_string != ''){ $lcp_output = '<p><strong>' . $cat_link_string . '</strong></p>'; }else{ $lcp_output = ''; }
and
$lcp_output .= '<ul class="lcp_catlist">';//For default ul //Posts loop: foreach($catposts as $single): $lcp_output .= '<li><a href="' . get_permalink($single->ID) . '">' . $single->post_title . '</a>'; }
I’d like to change the lcp_catlink_string $lcp_output from <p> to a <div class> defined in my style.css (NOTE: the style.css belonging to the child theme).
And I’d like to change
$lcp_output.= '<ul class="lcp_catlist">'
so that it is no longer a list, and instead matches the theme’s style for posts, which I believe is <h2 class=”entry-title”> for the title, <div class=”entry-meta”> for the date and author, and <div class=”entry-content”> for the content.But when I saved these changes, there was no change at all to the appearance of the post on the page. Not even after refreshing browser and flushing browser cache. ??
What am I missing? Help very much appreciated.
- The topic ‘[Plugin: List Category Posts] edit default template’ is closed to new replies.