Actions
Feature #4847
closedUpdate ACERT plugin
Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2015-11-02
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
Hi,
We would like to update the ACERT plugin(ticket #4751) (attached). I have added the following function:
//Add blog header to posts with blog feature and date
function cac_acert_insert_blog_header(){
if(get_post_type() == 'post'){
echo '<p class="blog_header">';
echo do_shortcode('[blog_feature]');
echo " | ";
echo get_the_date();
Thank you!
-David
echo '</p>';
}}
add_action('woo_post_inside_before','cac_acert_insert_blog_header',1)
Files
Updated by Boone Gorges about 9 years ago
- Category name set to WordPress Plugins
- Status changed from New to Resolved
- Target version set to 1.8.15
Updated in https://github.com/cuny-academic-commons/cac/commit/610242e4840a7661ca54d3c177a74f12fae1be16. This will be available as part of tonight's release.
Actions