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
Actions