Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alexim13

    (@alexim13)

    In the file functions.php added and the tag began to work. How do I add the rest of the tags to the filter (<g>, <path>, <polygon>)?

    Can you write the code below?

    function my_bcn_allowed_html($allowed_html)
        {
    	$allowed_html ['svg'] = array(
    		'width' => true,
    		'height' => true,
    		'viewbox' => true,
    		'version' => true,
    		'xmlns' => true,
    		'xmlns:xlink' => true
    	);
    	return $allowed_html;
    	}
    add_filter('bcn_allowed_html', 'my_bcn_allowed_html');
    • This reply was modified 5 years, 6 months ago by alexim13.
    Thread Starter alexim13

    (@alexim13)

    Can you somehow remove the last separator?

    Link template to … (non-clickable) a space is specified to hide the page title.

    • This reply was modified 5 years, 7 months ago by alexim13.
    Thread Starter alexim13

    (@alexim13)

    Updated from version 6.5.0. Thanks, it worked.

    To file breadcrumb-navxt.php after the line $allowed_html = array( add:

    					'svg' => array(
    						'width' => true,
    						'height' => true,
    						'viewbox' => true,
    						'version' => true,
    						'xmlns' => true,
    						'xmlns:xlink' => true
    					),
    					'g' => array(
    						'stroke' => true,
    						'stroke-width' => true,
    						'fill' => true,
    						'fill-rule' => true,
    						'transform' => true
    					),
    					'path' => array(
    						'fill' => true,
    						'd' => true,
    						'fill-rule' => true
    					),
    					'polygon' => array(
    						'points' => true
    					),
    • This reply was modified 5 years, 7 months ago by alexim13.
Viewing 3 replies - 1 through 3 (of 3 total)