Project

General

Profile

Actions

Feature #4847

closed

Update ACERT plugin

Added by David dos Santos over 8 years ago. Updated over 8 years ago.

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

11.2.2015UPDATE_cac-acert-custom.php (10 KB) 11.2.2015UPDATE_cac-acert-custom.php David dos Santos, 2015-11-02 02:57 PM
Actions

Also available in: Atom PDF