Project

General

Profile

Feature #4847

Update ACERT plugin

Added by David dos Santos almost 6 years ago. Updated almost 6 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:

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)

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

History

#1 Updated by Boone Gorges almost 6 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.

Also available in: Atom PDF