Añade nueva página de inicio y mejoras de estilo
This commit is contained in:
parent
6f9b7ff421
commit
2394be9383
9 changed files with 357 additions and 113 deletions
|
@ -595,3 +595,17 @@ function hide_content_antibots_shortcode( $atts, $content = null ) {
|
|||
}
|
||||
return antispambot( $content );
|
||||
}
|
||||
|
||||
/*
|
||||
* Ensure HTML code using Highlighting Code Block plugin with Enfold Theme.
|
||||
* Use: [hcb_html]text or email[/hcb_html].
|
||||
* See https://kriesi.at/support/topic/codeblock-within-editor-not-working-enfold-4-7-3/#post-1206456
|
||||
*/
|
||||
add_shortcode( 'html_tag', 'hcb_html_shortcode' );
|
||||
add_shortcode( 'html_code', 'hcb_html_shortcode' );
|
||||
add_shortcode( 'html_block', 'hcb_html_shortcode' );
|
||||
function hcb_html_shortcode( $atts, $content = null ) {
|
||||
$content = str_replace( '‹', '<', $content );
|
||||
$content = str_replace( '›', '>', $content );
|
||||
return $content;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue