Viewing 30 results - 16,621 through 16,650 (of 16,897 total)
  • Author
    Search Results
  • #136219

    In reply to: Layer Slider problem

    I’m also having a problem with line 121, when someone does a search through the search box they receive:

    Fatal error: Call to undefined function layerslider_init() in /homepages/19/d178762827/htdocs/wordpress-Backup/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 121

    Any word on what causes this? I’d like my viewers to be able to use this search box.

    You can test it out here: http://onesourcegraphics.org/creative-differences/

    left sidebar

    #137892

    Hi Guys,

    I was having the same problem until I changed the PHP version from 5.3.27 FastCGI to 5.3.27 CGI (Stable).

    Hope this helps,

    Jonathan

    Hi,

    I’m actually not sure if there is better way to do it but this is how i would do;

    First in Single.php file change the code in line 28 from

    <div class='content units <?php avia_layout_class( 'content' ); ?>'>

    to

    <div class='content units twelve'>

    Then delete these lines between 51-57

    <?php

    $avia_config = "blog";

    //get the sidebar

    get_sidebar();

    ?>

    Then add this code to Quick CSS

    .content { border-right-style: none; }

    I hope that works for you

    Regards,

    Yigit

    #138071

    Hi, Martina

    The problem is that Entypo (the icon font) doesn’t include a YouTube icon. However i found a temporary workaround (using a video icon with the default red background):

    Be sure that you are using the latest version of Enfold, then you need to add these lines of code at the end of these files respectively:

    /enfold/includes/admin/register-admin-options.php:

    $avia_elements[106][0] = array_merge($avia_elements[106][0], array('Youtube' => 'youtube'));

    /enfold/functions.php

    $avia_config = array_merge($avia_config, array('youtube' => '&#127916;'));

    Then if you go to the Theme options you will see that there’s is a Youtube option:

    Regards,

    Josue

    #28632
    itchybrain
    Participant

    Gday Kriesi

    Is there a way to get php to work in the Theme Options fields?

    eg. in the footer field, I tried without success:

    © 2007 - <?php echo date("Y"); ?>Copyright Client Name here [nolink]

    Thanks for any help you can provide for this

    #137920

    I’ve done what you told me and i get this error when loading the page

    Parse error: syntax error, unexpected ‘<‘ in /home/content/16/9955616/html/wp/wp-content/themes/enfold/header.php on line 171

    Here is how i placed the code:

    /*
    * display the main navigation menu
    * modify the output in your wordpress admin backend at appearance->menus
    */
    $extraOpen = $extraClose = "";
    if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; }

    echo $extraClose;
    echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>";
    $args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu());
    wp_nav_menu($args);

    echo " </div>"
    ;

    <div id=content>

    <!-- EXCHANGERATES.ORG.UK LIVE FOREX RATES TICKER START -->
    <script type="text/javascript">
    var w = '1200';
    var s = '1';
    var mbg = 'FFFFFF';
    var bs = 'no';
    var bc = '000044';
    var f = 'verdana';
    var fs = '10px';
    var fc = '000044';
    var lc = '210000';
    var lhc = 'FE9A00';
    var vc = '000044';

    </script>
    <script type="text/javascript" src="http://www.currency.me.uk/remote/CUK-LFOREXRTICKER-1.php"></script>
    <!-- EXCHANGERATES.ORG.UK LIVE FOREX RATES TICKER END -->

    </div>;
    ?>

    <!-- end container-->"

    #136702

    I understand completely, Devin. Unfortunately, for several reasons, one being this forum is indexed, I simply can’t make this site live to the public as of now. I will, however, post what I’ve done so far to help anyone whom might be looking to add this, what I consider to be common, feature when working with woocommerce.

    Here’s a screenshot of what I’ve managed to do so far:

    https://dl.dropboxusercontent.com/u/17031532/expo_navigation_menu_updated_2.png

    EDIT HEADER.PHP AND ADD:

    (Refer to Ismael’s post above.)

    (I’ve moved this above, below, and in between <div id=’header_main’ class=’container_wrap container_wrap_logo’> with no success, as it’s still covered by the main container, but maybe one of you can get it working.)

    ADD THIS TO YOUR QUICK.CSS OR CUSTOM.CSS:

    #right-header {

    position: absolute;

    height: 80px;

    line-height: 80px;

    right: 151px;

    }

    #right-header a {

    display: inline-block;

    height: 80px;

    }

    #right-header a.login {

    padding-bottom: 40px !important;

    height: 80px;

    width: 70px;

    font-family: “proxima-nova-alt”,sans-serif;

    font-style: normal;

    font-weight: 700;

    font-size: 13px !important;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: #919191;

    }

    (Obviously, you’ll have to adjust this css to fit your needs. For example, I’m using a custom font from Typekit, which most of you won’t need.)

    Thanks to you both, Devin & Ismael, for your support,

    Benjamin

    #137875

    Thanks Devin, but memory is not the issue, see link (http://bit.ly/17iuv88). I have purchased this theme for my personal site (paulsutton.us), I had a new client purchase the theme also so that I could build them a site with it, I have it installed on a subdomain on my server, and this is where I am having the issue.

    I have reinstalled in case the download was bad, upped my php memory, and disabled all plugins…out of ideas.

    #28500
    Khun_Leigh
    Participant

    Hello,

    Thanks for the great theme.

    I am having problems trying to install in a sub directory and sub domain. When I install the Enfold theme in a sub directory or sub domain I receive the following error:

    Warning: Missing argument 1 for get_post(), called in /home/leighmol/public_html/leemarine/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/leighmol/public_html/leemarine/wp-includes/post.php on line 371

    Warning: Missing argument 1 for get_post(), called in /home/leighmol/public_html/leemarine/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/leighmol/public_html/leemarine/wp-includes/post.php on line 371

    Fatal error: Call to undefined function wp_get_theme() in /home/leighmol/public_html/leemarine/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1168

    Other themes I install work fine however.

    Could you please advise how to install into a sub directory or sub domain?

    Thank you for your assistance.

    Leigh

    #137511

    Hey,

    Please add this on your custom.css or Quick CSS:

    #layerslider_17 {
    margin: 0 auto !important;
    }

    Please override the WordPress files except for the wp-content folder and wp-config.php.

    Regards,

    Ismael

    #137689

    You’re right. I switched the PHP version on the server from 5.3.27 FastCGI to regular ol’ 5.3.27, and it works now. Not sure how that setting got changed in the first place. Thanks for your time.

    Hey,

    Edit framework > php > class-breadcrumb.php, find this code:

    /* Set up the default arguments for the breadcrumb. */
    $defaults = array(
    'separator' => '&raquo;',
    'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',
    'after' => false,
    'front_page' => true,
    'show_home' => __( 'Home', 'avia_framework' ),
    'echo' => false,
    'show_posts_page' => true,
    'truncate' => 70,
    'richsnippet' => false
    );

    Replace truncate with ‘140’ or something higher.

    /* Set up the default arguments for the breadcrumb. */
    $defaults = array(
    'separator' => '&raquo;',
    'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',
    'after' => false,
    'front_page' => true,
    'show_home' => __( 'Home', 'avia_framework' ),
    'echo' => false,
    'show_posts_page' => true,
    'truncate' => 140,
    'richsnippet' => false
    );

    Regards,

    Ismael

    #28413
    chronospd
    Participant

    I found the bug why the arrows are not responsive on my website:

    There is this file which controls the responsive part of those slideshow arrows:

    enfold/config-templatebuilder/avia-shortcodes/slideshow.php

    line 272 to 279 which should add these classes to the slideshow if it’s size is <600px or <305px :

    .avia-small-width-slider

    .avia-super-small-width-slider

    The classes are defined in: css/shortcodes.css line 2095.

    The problem is that the config-templatebuilder/avia-shortcodes/slideshow.php is not adding those classes after inspecting the code preview of the page.

    I tried on two different pages and uploaded many files from the new update just to make sure I have the new version of the theme.

    I see it is working on your demo here:

    http://kriesi.at/themes/enfold/pages/services/

    One thing I will mentioned that I renamed my theme folder from enfold to 2013 before setting everything up. Not sure if this could cause that function to now work.

    Thanks!

    #136643

    In reply to: Archive Excerpts

    You should not be needing to edit anything like that. The loop-archive.php has a single line that reads:

    the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> &rarr;</span>'); ?>

    To WordPress, this means spit out the content and if it has a more tag then break it off there. You need to change it to:

    the_excerpt(__('Read more','avia_framework').'<span class="more-link-arrow"> &rarr;</span>'); ?>

    Which instead attempts to grab the excerpt first.

    See: http://codex.wordpress.org/Function_Reference/the_excerpt

    The reason I wanted to re-point out this step: https://kriesi.at/support/topic/enfold-archive-exceprts#post-120517 is because you should be working in the loop-archive.php and not the loop-index.php after you make that change.

    #137350

    Hey,

    First, can you give us a link to website?

    1.) You don’t have to use WP Google Fonts for Open Sans. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:700';
    return $fonts;
    }

    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:700';
    return $fonts;
    }

    This will enable the Open Sans Bold 700. Go to Enfold > Styling > select a Heading Font and Define the Font for your body text.

    Again, use the code for the LayerSlider layers with the css selector “.layerslider-open-sans”:

    .layerslider-open-sans {
    font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 700;
    }

    3.) You can access custom.css via FTP or your cpanel. It is located on wp-content/themes/enfold/css folder.

    Regards,

    Ismael

    #136548

    I found the bug why the arrows are not responsive:

    There is this file which controls the responsive part of those slideshow arrows:

    enfold/config-templatebuilder/avia-shortcodes/slideshow.php

    line 272 to 279 which should add these classes to the slideshow if it’s size is <600px or <305px :

    .avia-small-width-slider

    .avia-super-small-width-slider

    The classes are defined in: css/shortcodes.css line 2095.

    The problem is that the config-templatebuilder/avia-shortcodes/slideshow.php is not adding those classes after inspecting the code preview of the page.

    I tried on two different pages and uploaded many files from the new update just to make sure I have the new version.

    I see it is working on your demo here:

    http://kriesi.at/themes/enfold/pages/services/

    One thing I will mentioned that I renamed my theme folder from enfold to 2013 before setting everything up. Not sure if this could cause that function to now work.

    Thanks!

    #125405

    Hi,

    as you’ve recommended, I have now only changed in functions-enfold.php and added this line there:

    <br />
    'show_home' => __( 'Atelier', 'avia_framework' ),<br />

    but this has no effect:

    #136641

    In reply to: Archive Excerpts

    Hi Darryl,

    Once you’ve followed this step: https://kriesi.at/support/topic/enfold-archive-exceprts#post-120517

    If you are in a child theme need to create the includes folder and put the loop-archive.php in it. Now you can edit the loop-archive.php file and where it has the_content change it to the_excerpt.

    Regards,

    Devin

    #28266

    Topic: Child Theme Error

    in forum Enfold
    thesebogroup
    Participant

    Hi, I created a child theme per the video tutorial and get the error below.

    The chile theme is in a new folder in themes called enfold-child with two files in it, styles.css and functions.php.

    What did I do wrong?

    Thx, Seth

    ?php

    /*

    * Enfold Child theme functions file

    */

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/39/11054639/html/wp-content/themes/enfold-child/functions.php:14) in /home/content/39/11054639/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    #136876

    Hey,

    1030x360px is enough for blog and portfolio items. If you are planning to use the Fullwidth Slider, you might want to use images with 1600x700px dimension. You can find the custom thumbnail sizes on functions.php:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
    $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
    $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)
    $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider

    //overwrite blog and fullwidth image on extra large layouts
    if(avia_get_option('responsive_layout') == "responsive responsive_large")
    {
    $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
    $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
    }

    Regards,

    Ismael

    #135556

    In reply to: Gallery image re-order

    Hi,

    If you switch the Avia Builder to debug mode, you will see the actual order of the image id on the gallery shortcode. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    return "debug";
    }

    You will see the actual shortcode below the builder. If you insert the “Gallery” element then added some images, the shortcode will look like this:

    [av_gallery ids='2617,2618,2616,2619' style='thumbnails' preview_size='portfolio' thumb_size='portfolio' columns='5' imagelink='lightbox' lazyload='avia_lazyload']

    Notice that the ids of the images are listed. You can rearrange them manually. You can also re-order them on the wordpress gallery UI.

    Regards,

    Ismael

    #136637

    Hi axiom555,

    The contact form just uses the built in wp mail/php mail function so it should work as long as the server is letting it get sent out. Two things to check are your spam filters/folders and also make sure the email you are using for them to be sent to is based on your domain (@yoursite.com).

    You can try checking your servers mail functionality by installing something like Contact Form 7 and setting up and using a basic form which will at least check to see if regular mail functions are without issue.

    Regards,

    Devin

    #136843

    In reply to: Default Layout option?

    Hi Jakub,

    You don’t need to change the actual php files for the page. You can use the Advanced Layout Editor for that: https://vimeo.com/channels/aviathemes/64927358

    If you are looking to change it, then its just the default wordpress page template found in the theme files.

    Regards,

    Devin

    #135890

    In reply to: Tag page problem

    I just have this which changes the image sizes in the functions.php

    <?php

    function avia_change_image_size_array()

    {

    global $avia_config;

    $avia_config = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news

    $avia_config = array(‘width’=>180, ‘height’=>180); // small image for blogs

    $avia_config = array(‘width’=>1500, ‘height’=>901 ); // images for fullsize pages and fullsize slider

    $avia_config = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider

    $avia_config = array(‘width’=>495, ‘height’=>297 ); // images for portfolio entries (2,3 column)

    $avia_config = array(‘width’=>260, ‘height’=>156 ); // images for portfolio 4 columns

    $avia_config = array(‘width’=>710, ‘height’=>426 ); // images for portfolio entries (2,3 column)

    $avia_config = array(‘width’=>710, ‘height’=>270); // big images for blog and page entries

    $avia_config= array(‘width’=>1030, ‘height’=>619 ); // images for fullsize pages and fullsize slider

    if(avia_get_option(‘responsive_layout’) == “responsive responsive_large”)

    {

    $avia_config = array(‘width’=>845, ‘height’=>507 ); // images for portfolio entries (2,3 column)

    $avia_config = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries

    $avia_config= array(‘width’=>1210, ‘height’=>727 ); // images for fullsize pages and fullsize slider

    }

    avia_backend_add_thumbnail_size($avia_config);

    }

    add_action( ‘init’, ‘avia_change_image_size_array’, 1);

    #136516

    The uploads folder has 755 as well – and I did a test backup with a plug-in earlier and it wrote files to the uploads folder without issues, and I’ve had no issues with any plugins at this point as well and I’ve tried many, and other files exist in the uploads folder as well.

    As relied to me:

    The server is a managed “shared” Zeus hosting service, we do not have any advanced backend access, cpanel, etc. It is not a VPS, or dedicated webserver box. We have the following: Zeus Web Server v4.3, PHP v5.3.13, MySQL v5.1.67, perl v5.10.1.

    The server is hosted at: connection.ca

    #135945

    In reply to: youtube & https

    Hi filianluthien,

    Sorry for the delay in responding we have been getting a huge spike in support requests recently.

    It seems that the root of the issue is that the theme uses the built in WordPress embed shortcode and builds on to it. But there is an issue with WordPress core allowing the https vs http. See: http://core.trac.wordpress.org/ticket/18719 .

    That ticket has a suggested ‘fix’ you may want to try adding to your functions.php:

    wp_oembed_add_provider('https://youtu.be/*', 'http://youtube.com/oembed?scheme=https', false );
    wp_oembed_add_provider('#https://(www.)?youtube.com/watch.*#i', 'http://youtube.com/oembed?scheme=https', true);

    Regards,

    Devin

    #28145

    Topic: Archive Excerpts

    in forum Enfold
    itchybrain
    Participant

    Gday Kriesi forum

    I’d like to automate excerpts on the archive page, rather than the default full post content.

    I did read a recent post that was in need of the same but the thread is closed and I didn’t understand the latter steps: https://kriesi.at/support/topic/enfold-archive-exceprts

    I placed the archive.php in my child theme includes folder, and modified line 47 to say get_template_part( ‘includes/loop’, ‘archive’ );

    But then I’m not sure what to do next. It seemed as though I need to also include the loop-index.php in the child includes and modify that. However, I don’t know what to do to modify that file.

    Does anyone know what I need to do here?

    Thanks for any help you can provide me.

    cheers

    Darryl

    #134921

    Hi Ismael,

    After looking into the server configuration we found that the PHP version was set to 5.3.27 FastCGI versus 5.3.27 CGI (stable). The latest version is 5.5.1 CGI. We changed the version to 5.3.27 CGI initially and that apparently fixed things. Interestingly the other theme templates that have layout builders worked fine with the older version of PHP. Would you know if there are issues with Enfold 2.0 and PHP version 5.5.1 CGI? Seems to be working fine. Possibly something with Enfold and the FastCGI configuration. Thanks for your help!

    Yakosuso
    Participant

    Hi there.

    Several days ago, we post this topic….

    We got the same error…

    “Fatal error: Call to undefined function layerslider_init() in /homepages/4/d369761083/htdocs/PEPANET/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 121” …

    We got the last versión for ENFOLD, 1.9 and WP versión is 3.5.1

    THATS YOUR ANSWER ….

    Check your pages for Layer Slider elements, remove them update the page then insert them back

    Regards,

    Ismael

    We have 2 questions….

    1º If we remove a slider page…we should creat it from scratch… There is not other way to do it?

    2º We should create all the slides from scartch?? Could we duplicate them, or the problem is the dupication?

    Best,

    jacobo

    Actually after some more research it appears that godaddy had a php5.ini file in to root of my domain. I cleared out the entire folder structure, re-installed wordpress, and let the install create a new php.ini file (not php5). Once that was complete i was able to install the ENFOLD template and all was good.

Viewing 30 results - 16,621 through 16,650 (of 16,897 total)