Viewing 30 results - 15,571 through 15,600 (of 16,892 total)
  • Author
    Search Results
  • Hi Josue,

    And thanks for the direction!

    I also needed to customize some of the text in the <h4 class=’proj-nav-title’> of the post nav tabs so I ended up copying the whole
    avia_post_nav function into my child theme’s functions.php to do that customization and then set $same_category parameter to “true”:

    if(!function_exists('avia_post_nav'))
    {
    	function avia_post_nav($same_category = true, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    		$settings['wpversion'] = $wp_version;
            
    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
    
    		$settings['type'] = get_post_type();
    		$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
    
    		if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
    		if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
    
    	        $settings = apply_filters('avia_post_nav_settings', $settings);
    	        if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
    	
    	        if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);
    	        }
    	        
    		$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
            	$output = "";
    
    		foreach ($entries as $key => $entry)
    		{
                if(empty($entry)) continue;
    
                $tc1   = $tc2 = "";
                $link  = get_permalink($entry->ID);
                $image = get_the_post_thumbnail($entry->ID, 'square');
                $class = $image ? "with-image" : "without-image";
    
                $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
    		    $output .= "    <span class='label iconfont' ".av_icon_string($key)."></span>";
    		    $output .= "    <span class='entry-info-wrap'>";
    		    $output .= "        <span class='entry-info'>";
                $tc3    .= "        <h4 class='proj-nav-title'>View Another Project</h4>";
    		    $tc1     = "            <p class='entry-title'>".avia_backend_truncate(get_the_title($entry->ID),75," ")."</p>";
    if($image)  $tc2     = "            <span class='entry-image'>{$image}</span>";
                $output .= $key == 'prev' ?  $tc3.$tc1.$tc2 : $tc2.$tc3.$tc1;
                $output .= "        </span>";
                $output .= "    </span>";
    		    $output .= "</a>";
    		}
    		return $output;
     
            
            
    	}
    }
    #284376

    Hey Jonas!

    Thank you for using the theme!

    What is the current version of your theme? If it’s lower than 2.7 or 2.6 then you’ll probably have issues with it. No, unfortunately, you need to upgrade the whole theme in order to use the contact form generator properly. Anyway, you can try to copy the class-form-generator.php then test the suggested code on the other thread. Make sure that you create a backup of the current file.

    Cheers!
    Ismael

    #283846

    In reply to: Enfold Bugs/Issues

    Hey djshortkut!

    Thank you for visiting the support forum!

    Please open one thread per topic. This will keep the threads re-usable if another user is experiencing the same issue.

    1.) Add this on Quick CSS or custom.css:

    .avia-image-container.avia-align-center .avia-image-container-inner, .avia-image-container.avia-align-center .avia-image-container-inner img {
    margin: 0 auto;
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
    }

    2.) What is the screen resolution of your monitor? Add this on Quick CSS or custom.css:

    @media only screen and (min-width: 1800px)
    .responsive.html_stretched .av-masonry-entry {
    width: 17.8%;
    }

    3.) Add this on functions.php to force the testimonial image to get a larger version of the thumbnail:

    add_filter('avf_testimonials_avatar_size', 'avf_adjust_testimonials_avatar_size' );
    
    function avf_adjust_testimonials_avatar_size($avatar_size) {
    	$avatar_size  = 'square';
    	return $avatar_size;
    }

    4.) Use this on Quick CSS:

    
    .avia-no-number {
    opacity: 1;
    font-size: 0.8em;
    font-weight: normal;
    }

    Cheers!
    Ismael

    #283821
    sky19er
    Participant

    Hey, there seems to be a conflict between Enfold and the Content Timeline plugin I’m using (by Shindiri Studio http://www.shindiristudio.com/demo/?item=Content%20Timeline_Wordpress). I’ve tried getting them to solve this for me, but they asked if I could try you. I’m getting the following error not only in the plugin area (both front and back end), but even I’ve even seen it show up when just clicking on a text block element on another page.

    Fatal Error: memory size of 41943040 bytes exhausted (tried to allocate 258017 bytes) in /data/23/3/90/15/3416504/user/3809111/htdocs/wp-content/themes/enfold/css/dynamic-css.php on line 750

    The plugin developer upgraded the plugin for me and now it’s not showing up at all, they say due to this conflict, but it was here http://skidrow.org/history-timeline-timeline/

    Thanks!

    Hi Katrina!

    Yes, i’m pretty sure that is the file that handles that shortcode, renaming won’t make the slider break because it is included into the framework no matter the filename (try emptying it).

    Although the fullscreen slideshow gets rendered on line 542-547 of /config-templatebuilder/slideshow_fullscreen.php, it uses an object (avia_slideshow) declared in line 342 of /config-templatebuilder/avia-shortcodes/slideshow.php, so this would be the definitive file to edit if you want to do it (i still keep my recommendation to use LayerSlider to avoid this time-consuming task).

    Cheers!
    Josue

    #283567

    Hi!

    Es scheint so, als ob WordPress keine Thumbnail Version des Vorschaubildes generieren möchte. Bei allen anderen Bildern hier: http://stefangebhardt.com/index.php/portfolio-2/ wird die Thumbnail Version verwendet, was man daran erkennt, dass die Bilder am Ende die Bildgröße angehängt wird (zB
    http://stefangebhardt.com/wp-content/uploads/2014/05/2014-05-10_18_19_09_6935_EOS-5D-Mark-III_3_DxO_HQ_pp1-710×270.jpg
    anstelle von
    http://stefangebhardt.com/wp-content/uploads/2014/05/2014-05-10_18_19_09_6935_EOS-5D-Mark-III_3_DxO_HQ_pp1.jpg

    Von diesem Bild: http://stefangebhardt.com/wp-content/uploads/2014/06/2014_06_19_19_41_25_0819_EOS-1D-X_DxO_LQ.jpg generiert WordPress kein Thumbnail (die Datei http://stefangebhardt.com/wp-content/uploads/2014/06/2014_06_19_19_41_25_0819_EOS-1D-X_DxO_LQ-710×270.jpg existiert nicht) und ich weiß leider nicht warum. Ihr könnt probieren:

    1) die Datei umzubenennen und ggf den Namen zu vereinfachen und verkürzen
    2) die Datei mit Photoshop, etc. anpassen und in der Größe von 710×270 hochladen.
    3) Alle Plugins deaktivieren und die Datei nochmals hochladen – vielleicht verursacht ein Plugin einen Fehler und WordPress kann keine Thumbnails mehr erzeugen.

    Regards,
    Peter

    #283504

    Hi jansthh!

    Thank you for visiting the support forum!

    1.) You can adjust the size of the logo by decreasing its height:

    .html_header_top #top .av_logo_right .logo {
    height: 80%;
    top: 20px;
    }

    2.) Please edit config-templatebuilder > avia-shortcodes > portfolio.php, remove everything then replace it with this code: http://pastebin.com/3Tjscv7m

    Regards,
    Ismael

    #283190

    In reply to: Add image to header

    Appreciate the fast response!

    Unfortunately I get the following error:
    Parse error: syntax error, unexpected T_STRING in /home/content/13/10537213/html/monitash/wp-content/themes/enfold-child/functions.php on line 18

    Line 18 is this line: $logo.= “<div class=’custom_content’></div>”;

    Any suggestions?
    Thanks!

    #283175

    Hey!

    You can try to change the folder permission to 777 – maybe 755 is not enough in your case. We have no list of minimum requirements because it depends on the wordpress plugins, etc. you want to use but we recommend php5.4, 30 seconds (or more) php execution time and 128 megabyte allocated php memory. PHP5.5 should also work but because some plugins are still not compatible with the latest php version 5.4 is probably the better choice.

    Best regards,
    Peter

    TheMediaman
    Participant

    This may not exactly be a theme problem. It appears to be a conflict/error between iThemes Security plugin and the search box. Clicking on an empty search produces a 403 forbidden error. SEO site crawls show the 403 error with the url with /?s= at the end

    I believe it has something to do with iThemes Security (Formerly Better WP security) plugin

    iThemes places a RewriteCond entry in .htaccess.

    RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]

    Replace it with

    RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*$).* [NC,OR]

    and it fixes the issue. However I’m wondering if there is something that can be done on the theme side because there is some discussion that this could be a theme issue. I have “fixed it” on my site however I can unfix it if you wish to see. You just get a 403 forbidden page when the search is clicked without entering any text.

    Background info is here.

    http://www.sitepoint.com/forums/showthread.php?900027-403-error-in-chrome-with-empty-search-string
    http://wordpress.org/support/topic/get-requests-with-empty-variables-causes-403-errors

    Any advice/thoughts would be appreciated.

    #282822

    Topic: Add image to header

    in forum Enfold
    mnmatt
    Participant

    Followed the instructions on this post: https://kriesi.at/support/topic/adding-468-x-60-banner-to-header/

    Added the following to functions.php
    function after_head_image_func(){
    echo “<div class=’custom_content’></div>”;

    }
    add_action(‘ava_main_header’, ‘after_head_image_func’);

    Which worked great, but didn’t quite do what I hoped.

    Staging site is at http://monitash.com/

    Trying to get the image to output into the same container as the logo. Screenshot: https://www.evernote.com/shard/s123/sh/a800feed-4a6b-48a6-8d08-6fa185a7ad84/804db30c034e80c92253de27ec20a41e

    I’m guessing that I need to use a different action, but not sure what. Any suggestions?

    BTW – I already left a glowing review and this is the first theme I recommend to all my clients, but THANK YOU for doing such a fantastic job! The control panel, documentation, and support area are so great, I haven’t needed any assistance until now. Thanks again!

    #282774

    In reply to: Email form

    I guess you are referring to the mail headers settings, these are declared in line 709 in /framework/php/class-form-generator.php (make sure you are using the latest version of Enfold).

    Please note that this kind of questions are outside the support scope we offer.

    Cheers!
    Josue

    #282759

    Hey Mark!

    First of all I was actually referring to Tybo576 ;)
    Second I am afraid I dont have the login credentials since they were not posted in this thread. Please either provide them as a private reply or I will ask josue to do so, as it seems he somehow got them.

    The function “get_template_directory_uri” is correctly named and used. It is a default wordrpress function: http://codex.wordpress.org/Function_Reference/get_template_directory_uri
    Changing that to “get_template_directory_url” would probably cause a fatal php error since the function does not exist.

    Third: I am aware that this is frustrating and I am sorry for that but out of 30.000 people using the theme you are only one person with this problem. If it were a common thing it would probably be easier to solve but since we only got one person with one problem it can take longer to identify the issue. I assure you that we do test a lot before releasing an update, otherwise the 30.000 mentioned customers would rip us apart ;)

    Best regards,
    Kriesi

    #282749

    In reply to: Email form

    Hi Andrew!

    You can check the Enfold form source code in /framework/php/class-form-generator.php around line 730.

    Best regards,
    Josue

    #282554
    Omer
    Participant

    Hi There,

    I have a few contact forms in my website and i want to track the conversion from each form after the lead redirected into a specific “Thank You” page. i tried to read about your suggestions in this forum but didn’t find an accurate answer.
    i have putted this code at end of the functions.php with the specific page id + specific tracking code from Google.
    function custom_code(){
    if ( is_page( 9749 )) {
    ?>
    <!– Google Code for LXSuite LP Conversion Page –>
    <script type=”text/javascript”>
    /* <![CDATA[ */
    var google_conversion_id = 1004608795;
    var google_conversion_language = “en”;
    var google_conversion_format = “2”;
    var google_conversion_color = “ffffff”;
    var google_conversion_label = “sdwLCJXLzAoQm7qE3wM”;
    var google_conversion_value = 1.000000;
    var google_remarketing_only = false;
    /* ]]> */
    </script>
    <script type=”text/javascript” src=”//www.googleadservices.com/pagead/conversion.js”>
    </script>
    <noscript>
    <div style=”display:inline;”>

    </div>
    </noscript>

    <?php
    }
    }
    add_action(‘wp_footer’, ‘custom_code’);

    I can see that the code is in the page when i doing the inspect element in Chrome, But for some reason i cant see any conversions tracking in my Google Add-words account and they saying there that the code is “Unverified”. i tried to generate few forms, refresh the page but for no good. Ill appreciate your help here!

    Sincerely,

    Omer

    #282549

    In reply to: Loop Problem

    o.k. here is the actual snippet

    edit Mo. 23. Juni 2014 – 21-32

    ———item after content start———-

    <?php
    // WP_Query arguments
    $args = array (
    ‘post_type’ => ‘post’,
    ‘cat’ => ‘217’,
    ‘pagination’ => false,
    ‘order’ => ‘ASC’,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘series_excerpt’,
    ),
    ),
    );

    // The Query
    $series = new WP_Query( $args );

    // The Loop
    if ( $series->have_posts() ) {
    while ( $series->have_posts() ) {
    $series->the_post();
    // do something
    ?>

    <h2><?php the_title(); ?></h2>

    <?php
    }
    } else {
    // no posts found
    }

    // Restore original Post Data
    wp_reset_postdata();?>

    ———item after content stop———-

    • This reply was modified 11 years, 9 months ago by netztaucher.
    #282539

    Hi,

    I am encountering the same problem using WP GeoDirectory Plugin. I am using Enfold 2.7.1 and tried the given code:

    `add_filter(‘avia-google-maps-api’, ‘__return_false’, 10, 2);

    in my child themes functions.php but no luck,

    Am I missing something ?

    Thanks, Achim

    #282451
    This reply has been marked as private.
    #282345

    Hi, nothing im getting this error:
    Parse error: syntax error, unexpected ‘post’ (T_STRING) in /home/content/p3nexnas06_data01/69/2066769/html/wp-content/themes/enfold/includes/loop-index.php on line 23

    This is how the loop-index.php file looks now

    EDITED

    #282128

    Hey elad0708!

    Enfold is not backwards compatible with older themes like Corona or Replete. Enfold is the first theme which includes the “Avia Advanced Layout Builder” and this layout builder uses different shortcodes and a different template/layout logic than older themes like Corona. This (unfortunately) means you must build the pages again and replace the Corona shortcodes with the Enfold template builder shortcodes. Personally I recommend to copy the theme/plugin/wordpress files to a test/developer server, then export the database of the production website with WP MigrateDB or WP MigrateDB PRO and replace the url/domain of the production server with the testserver url. Then import the database file on your test server (i.e. with phpmyadmin) and rebuild/edit the pages with the new Enfold template builder. Afterwards make a backup of your production server files and database, copy the files from the test server to the production server and import the database from the test server on your production server.

    Regards,
    Peter

    #282052
    This reply has been marked as private.
    #281917

    Hey!

    If you want to add some custom content (description, etc.) to the category page you can use the category description option field: https://www.clipular.com/c/6172894090493952.png?k=iBd7tp-_wuMJUHfgYlUjzyiVkzg
    The category title will show up in the breadrumb/title area like here: http://kriesi.at/themes/enfold/portfolio_entries/css/
    If you want to edit the portfolio grid templates you need to edit wp-content/themes/enfold/taxonomy-portfolio_entries.php for the surrounding container and wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php for the portfolio grid.

    Best regards,
    Peter

    #281828

    That didn’t work It took down the site completely and took down any access to the WordPress Admin. Thankfully I had a backup php file.
    I had to go in via FTP and replace the file as the code didn’t even show up in the php page to edit out. I had placed it in the child “functions php,” as that is what I am using.

    Here is the error code:

    Parse error: syntax error, unexpected ‘?’ in /data/19/1/81/104/1896756/user/2063450/htdocs/blaircomm_epic/blaircomm14/wp-content/themes/enfold-child/functions.php on line 11

    Thanks.

    – Michael

    #281823

    In reply to: post title

    i just made a change to the meta.php by adding post in it (along with portfolio and page) and i changed the template builder.php with the provided code given here:

    https://gist.github.com/meishern/bfbf909055e7b967dd5b

    #281783

    Sobre lo del texto, es posible localizarlo pero es un poco mas complicado, tendrías que tocar los .mo/.po del theme, lo que estoy haciendo basicamente es poner una condición para ver que idioma esta activo y de acuerdo a eso cambiar el texto:

    	if(ICL_LANGUAGE_CODE == "es"){
    		$string = "Ver detalles";
    	}elseif(ICL_LANGUAGE_CODE == "en"){
    		$string = "View details";
    	}else{
    		$string = "";
    	}

    http://www.yachtcharterbcn.com/wp-admin/plugin-editor.php?file=functions.php&a=te&scrollto=72
    Para otros idiomas simplemente tendrías que duplicar el “elseif”.

    Lo del tamaño de fuente la verdad que no lo noto:

    Para lo del easy slider intenta agregar este código al Quick CSS:

    @media only screen and (max-width: 480px) {
        .avia-slideshow-inner, .av_slideshow_full li img{
            height: 220px !important;
            width: auto !important; 
        }
    }

    Lo de los widgets, esto te va a servir:
    http://wpml.org/2011/03/howto-display-different-widgets-per-language/

    Saludos,
    Josue

    #281710

    In reply to: POST #279510

    Hi, Yigit.

    Sorry again, could not find the code that you had added to functions.php. Now I’ve seen.

    On this subject I mention that besides the change in functions.php, I added the code to post avia.js 268793.

    With these two modifications http://www.arojo.es works well.

    But the problem I have another installation of Enfold (www.rojocj.es) that I use for testing. Having made the changes in functions.php and avia.js. Watch as seen in the image gallery http://www.rojocj.es/?page_id=53: keep looking tooltips white background.

    Privately I send you login details.

    Greetings.

    #281574

    In reply to: POST #279510

    Hi!

    No you do not need to. You can find the code i posted here – https://kriesi.at/support/topic/remove-tooltip-images/#post-279110
    in functions.php file, i have already added. Is there something wrong with it?

    Regards,
    Yigit

    #281462

    In reply to: POST #279510

    Hi romero2!

    As far as i remember i just replaced the code ( https://kriesi.at/support/topic/remove-tooltip-images/#post-279110 ) in functions.php. At the bottom of the file it didn’t work.
    If you can post login credentials again i can login and make sure that was the change i did :)

    Best regards,
    Yigit

    #281348
    welswebmaster
    Participant

    I am looking to get the best performance and speed on our sites. I’ve made great gains in speed and efficiency. Since a lot of queries and/or inefficient queries can both cause slow performance, I ask you to please refer to the private content and then to the following. Please let me know if this is not normal. Thanks for your help.

    Here is the longest running query on your theme in the site’s install: SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (41,44,45,46,3002,3003,3004,3005,3011,3012,3023,3024) ORDER BY meta_id ASC
    Source:
    /nas/wp/www/cluster-1308/wels/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php:724

    Backtrace:
    require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, AviaBuilder->template_redirect, require_once(‘/themes/enfold/template-builder.php’), apply_filters(‘the_content’), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, aviaShortcodeTemplate->shortcode_handler_prepare, avia_sc_portfolio->shortcode_handler, avia_post_grid->query_entries, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, _prime_post_caches, update_post_caches, update_postmeta_cache, update_meta_cache

    eOPuS
    Participant

    Hallo,

    auf meiner Webseite werden die Icons nicht mehr korrekt angezeigt – Stattdessen werden Hieroglyphen bzw. chinesische Zeichen angezeigt.
    Fehlerhafte Icon Darstellung: http://image-upload.de/image/SuSVwC/8bc270a2bc.jpg
    Als Webserver nutze ich einen Apache 2.2 (PHP 5.4.x) mit nginx

    Hat wer eine Ahnung wo das Problem besteht?

Viewing 30 results - 15,571 through 15,600 (of 16,892 total)