WPIntell

Source evidence

frontend / css implementation

Docu · support · 2016-06-06T18:07:00+00:00

mixedsentiment
lowseverity
0.57relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 24 rows with source links

16.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
reinoud26 resolved
Hi , Nice plugin we have it technically all working, but we don’t get the styling right is all styling done in the style.css ? or also in some parts of the application if you want i can mail you a screenshot how it looks like right now in the code i saw also there is an option to show when a doc was last updated how do you activate that ? thanks reinoud https://wordpress.org/plugins/docu/ Hi reinoud26, sorry for the delay, all the plugin css styles are in docu/assets/css/frontend.css about adding last updated time, you can use WordPress native the_content filter: https://codex.wordpress.org/Plugin_API/Filter_Reference/the_content something like this will work, add this code to your theme functions.php function custom_docu_add_last_modified( $content ) { global $post; if( get_post_type( $post ) == 'doc' ) { $output = '<p>Last modified: '. get_the_modified_date() . ' ' . get_the_modified_time() .'</p>'; return $content . $output; } else { return $content; } } add_filter( 'the_content', 'custom_docu_add_last_modified' ); Thanks.

Comments

1 shown
dinamiko 2016-06-18T11:46:00+00:00

Hi reinoud26, sorry for the delay, all the plugin css styles are in docu/assets/css/frontend.css about adding last updated time, you can use WordPress native the_content filter: https://codex.wordpress.org/Plugin_API/Filter_Reference/the_content something like this will work, add this code to your theme functions.php function custom_docu_add_last_modified( $content ) { global $post; if( get_post_type( $post ) == 'doc' ) { $output = '<p>Last modified: '. get_the_modified_date() . ' ' . get_the_modified_time() .'</p>'; return $content . $output; } else { return $content; } } add_filter( 'the_content', 'custom_docu_add_last_modified' ); Thanks.