Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to add Custom icons to iconbox? #398444

    As an update:
    The library file was not installed on the server. I had to install it and then add it to the config.

    Thanks for pointing me into the right direction.

    in reply to: How to add Custom icons to iconbox? #398337

    I followed the instructions to a “T” and i get the error

    Fatal error: Class’ZipArchive’ not found in/home/webdev3/public_html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 113

    This is the code for font-manager.class.php Line 13 is function __construct()
    _________________________________________________________________________________________________
    <?php

    class avia_font_manager{

    var $paths = array();
    var $svg_file;
    var $font_name = ‘unknown’;
    var $svg_config = array();
    static $charlist = array();
    static $charlist_fallback = array();
    static $iconlist = array();

    function __construct()
    {
    $this->paths = wp_upload_dir();

    if(is_ssl())
    {
    $this->paths[‘baseurl’] = str_replace(‘http://&#8217;, ‘https://&#8217;, $this->paths[‘baseurl’]);
    }

    $this->paths[‘fonts’] = ‘avia_fonts’;
    $this->paths[‘temp’] = trailingslashit($this->paths[‘fonts’]).’avia_temp’;
    $this->paths[‘fontdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘fonts’];
    $this->paths[‘tempdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘temp’];
    $this->paths[‘fonturl’] = trailingslashit($this->paths[‘baseurl’]).$this->paths[‘fonts’];
    $this->paths[‘tempurl’] = trailingslashit($this->paths[‘baseurl’]).trailingslashit($this->paths[‘temp’]);
    $this->paths[‘config’] = ‘charmap.php’;

    in reply to: How do I remove the Gravatar from Posts? #390097

    Will this code get stripped when an updated is pushed out?

Viewing 3 posts - 1 through 3 (of 3 total)