Viewing 30 results - 15,991 through 16,020 (of 16,891 total)
  • Author
    Search Results
  • #237171

    In reply to: Enfold & JC Submenu

    Hey!

    Here are all the iterances of wp_nav_menu in Enfold:

    Searching 756 files for "wp_nav_menu"
    
    /enfold/footer.php:
      113                                  );
      114  
      115:                                 wp_nav_menu($args);
      116                              echo "</nav>";
      117                          ?>
    
    /enfold/functions-enfold.php:
       54  {
       55  	//first append search item to main menu
       56: 	add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
       57  	add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 );
       58  
    
    /enfold/config-woocommerce/config.php:
      273  
      274  #
      275: # create the shop navigation with account links, as well as cart and checkout, called as fallback function by the wp_nav_menu function in header.php
      276  #
      277  function avia_shop_nav($args)
    
    /enfold/framework/php/class-megamenu.php:
       39  
       40  			//exchange arguments and tell menu to use the avia walker for front end rendering
       41: 			add_filter('wp_nav_menu_args', array(&$this,'modify_arguments'), 100);
       42  
       43  			//exchange argument for backend menu walker
       ..
      365  		 */
      366  		function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0 ) {
      367: 			global $_wp_nav_menu_max_depth;
      368: 			$_wp_nav_menu_max_depth = $depth > $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth;
      369  
      370  			$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
    
    /enfold/includes/helper-conditional-megamenu.php:
       20              add_action('avia_mega_menu_option_fields', array(&$this,'output_conditional_menu_options'), 10, 4);
       21  
       22:             add_filter( 'wp_nav_menu_objects', array(&$this,'apply_conditional_rules'), 10, 1);
       23          }
       24  
    
    /enfold/includes/helper-main-menu.php:
       51  			                );
       52  			                
       53: 			                $nav = wp_nav_menu($args);
       54  						}
       55  			                
       ..
      123  						        );
      124  						
      125: 						        wp_nav_menu($args);
      126  						        
      127  						    if($headerS['header_social'] == 'icon_active_main' && empty($headerS['bottom_menu'])) echo $icons;    
    
    11 matches across 6 files
    

    You need to pass that JC extra argument there.

    Best regards,
    Josue

    #236714

    OK, this may be an issue. The server is running PHP 4.4.7!

    #236131
    mrlreynolds
    Participant

    Hi Guys, we just tried to upgrade to the latest theme version and for some reason it got stuck, we now have the site down and this error

    Warning: require_once(framework/avia_framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/challeng/public_html/wp-content/themes/enfold/functions.php on line 77

    Fatal error: require_once() [function.require]: Failed opening required ‘framework/avia_framework.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/challeng/public_html/wp-content/themes/enfold/functions.php on line 77

    Any ideas what we can do to fix this and get it back to how it was without losing any data, settings etc?

    Many Thanks

    This reply has been marked as private.
    This reply has been marked as private.
    This reply has been marked as private.
    #235381

    Thanks very much Yigit , for your answer ; I really appreciate your response.
    If you have any time, I also have some additional questions ; thanks a ton for your precious time and support.

    1- Is a SITEMAP.xml is a MUST for google to crawl all of my content? (portfolio items, posts, anything)?

    2- What is the best way to have a S I T E M A P.xml for all the POSTS and PORTFOLIO items, WITHOUT using a plugin.
    I really do not want to rely on plugIns for anything.

    You can see my site’s structure below, it will have a lot of content..:

    3-Do portfolio items harder to “catch / crawl” for the sitemap / google for the SEO purposes?
    Or they are just like the Blog posts.?

    And please let me know how should I implement the necessary actions to build a sitemap which includes both PORTFOLIO items and BLOG POSTS and rebuilds itself dynamically when I add any posts or portfolio items.

    Considering my website will have a lot of content, I don’t want to have a PHP code which will loop and construct the whole sitemap.xml from zero again and again , I just want a php script that adds ONLY the very last portfolio item or blog post to THE ALREADY EXISTING siteMap.XML

    I am using a child theme , so please let me know which functions I have to add to which php files.

    4– Would it be so hard to create a sitemap.XML file inside my PUBLIC_HTML folder and update it MANUALLY by hand each time when I create a blogPost , or Portfolio item? (as described here , I am talking about adding each of my new content MANUALLY by hand to the xml file as described there.)

    http://www.sitemaps.org/protocol.html

    5update (2.6) issues Note: I am using a child theme.

    a) And friends, after the update (the latest, 2.6) I have almost all of previously configured CSS fineTunings lost. (for example, UL list style type:none settings, PAGES Widget’s current page CSS formatting, Widget font stylings, footer / socket border stylings etc. doesn’t work.) Have an idea? Maybe you erased the responsible css selectors within the new update? I don’t use anything fancy, (no plugins right now, I don’t even use a slider, and I just use the font Verdana)

    b) firefox doesn’t load the portfolios’ featured images at first, they only appear when I refresh the page once again.

    c) internet Explorer 8 has an issue with logo imageSize , logo looks weird. Retina Logo image doesn’t look like as it should be ; it should look the half size of its original , but it doesn’t shrink.
    And IE8 also has some CSS issues.

    6- Is there a way to cancel the animation (fade in, and movement into the place) of the each portfolio item’s featured image?

    Thanks for everything, I am really grateful, and again please forgive me for being an headache :) .
    Sorry if all this sounds a little naive, that’s just because I don’t know PHP.

    Kind Regards,
    Bedros

    • This reply was modified 12 years, 1 month ago by Bedros.
    #234792

    there is a check for custom link url in the masonry-entries.php on line 727

    
    if(!post_password_required($id)){
    $custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false;
    if($custom_link) $this->loop[$key]['url'] = $custom_link;
    }
    break;

    is it possible to insert here a target=_blank
    because that will be ok – if there is an external link than open a new window – if not open normal

    #234653

    Hey Tom!

    How are you? I hope you’re doing well today.

    Did you add any plugins prior to the issue? You can edit the code on config-woocommerce > config.php, find this code on line 217:

    $output .= "<a class='button show_details_button' href='".get_permalink($product->id)."'><span ".av_icon_string('details')."></span>  ".__('Show Details','avia_framework')."</a>";
    

    I don’t see anything wrong with it.

    Best regards,
    Ismael

    #234166
    This reply has been marked as private.

    Ismael –

    That’s great news and I like Kriesi’s thinking that is exactly what I was thinking would be a nice solution.
    enfold is my favorite theme and I really like the ability to use full screen movies.
    Do you have any thoughts on how to take care of the warning I am getting

    Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c10/h02/mnt/176353/domains/oceanportalproject.org/html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 576

    Best regards,

    George

    #234077
    zerozendesign
    Participant

    I was recently asked to migrate a client’s website from our multisite network to a single site on his own server. I searched through some different topics and came up with a lot of complaints about theme owners having to painstakingly rebuild pages, import media files, etc from the ground up. I noticed one post that Kriesi made that made it extremely simple to launch the site on his new server in about 10 minutes. This is a little tutorial to get it done.

    1. After you have set up WordPress on your new host, install your theme (in my case – Enfold)
    2. Install any associated plugins needed
    3. Go to the dashboard of the site where you are migrating from and add ?avia_export at the end of the url. It will look something like this – http://yourdomain.com/wp-admin/?avia_export
    4.This will this generate a base64 encoded option set that you can to the dummy.php file in themes/includes/admin/dummy.php of your theme. Replace the existing content with the new.
    5. Go to tools on your existing site and export all content as an xml file. Once on your computer, rename dummy.xml.
    6. On your new install, go to themes/includes/admin and replace the dummy.xml file with the file you just created.
    7. Log into the dashboard of your new install, click the theme options navigation link (in my case, “Enfold”) in the back-end and click the import dummy data button. This will import all the images/content/layouts, etc.
    8. Click the back-end navigation option for settings > permalinks and adjust your permalinks as needed.
    9. Importing the dummy data imports your layerslider images, but you may have to go into your sliders and adjust any image links IF your paths are different. In my case I went from multisite to single site so I had to adjust the link prefix accordingly.

    That’s it!

    #234036

    Hi Boris,

    Open /config-templatebuilder/avia-template-builder/php/tiny-button.class.php and look for line 37:

    if ( current_user_can('edit_posts') &&  current_user_can('edit_pages') && self::$count == 0)  
    

    Replace it by this:

    if (self::$count == 0)  
    

    Regards,
    Josue

    #233970

    Hi,

    I have the same problem.

    Maybe I can speed things up if I translate the question so that everybody can understand it and try to help :)

    We have downloaded and installed the enfold theme to our themes folder in wordpress.
    While our WordPress is already in German (config.php -> language DE_de or something like that) the theme is still in english. At least I think that the labels for the contact form should change to german if it worked.

    We can see that there are the .po and .mo files for German language in the language folder of the enfold theme but we do not know where we can switch the theme language to those files.

    Best regards
    Julien

    p.S.: my test site for reference http://s517268118.online.de/

    #233668

    Hi Peter,

    erstmal Danke für deine Mühen und Hilfen.
    Das mit dem Inputfeld klappt. Aber mit dem Header leider immer noch nicht.
    Ich habe es mit ie Tester und ie8 renderer getestet. Wie bereits erwähnt, ist
    das menü nur im ie8 grau hinterlegt. Ich habe mal im Styling Bereich
    Hintergrundfarbe weiss und einfach mal gestricheltes Linien im
    Hintergrund gewählt. Nach dem der Cache (über Cloudflare) gelöscht wurde,
    ist das Menü gestrichelt mit weissem Hintergrund. Irgendwie ist die Transparenz
    noch drin, so dass er das Menü wie den Hintergrund gestaltet.

    Wichtig: Der Hintergrund ganz oben im Social Bereich muss leicht gräulich bleiben #f8f8f8
    Das ist jetzt auch so hinterlegt.

    Die Anweisungen bezüglich des Quick CSS habe ich befolgt. Zuerst enfold.css
    gelöscht und dann unter enfold im Styling Bereich save all changes gewählt.
    Der Ordner ist 777, enfold.css 604 und index.php 604.

    Gruß

    • This reply was modified 12 years, 1 month ago by Tacettin.
    #233631

    In reply to: Portfolio thumbnail

    Hi evgeniac!

    Thank you for the question. I hope all is well with you today.

    Please edit functions.php, find this code on line 97:

    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    

    Replace it with:

    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>210 );						// images for portfolio 4 columns
    

    Regenerate the images using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #233570

    Hey!

    I tried reproducing the issue (no success), please take a look:
    http://www.finalsmoke.net/wp-admin/post.php?post=327&action=edit&message=1
    http://www.finalsmoke.net/test/

    Regards,
    Josue

    #233311

    Hi!

    Sorry for that. I thought you’re using the portfolio grid element. Please edit config-templatebuilder > avia_shortcodes > masonry_entries.php, find this code on line 782:

    if(!empty($this->atts['container_links']) || !empty($custom_url))
    				{
    					$this->loop[$key]['html_tags'] = array('a href="'.$this->loop[$key]['url'].'"','a'); //opening and closing tag for the masonry container
    				}

    Replace it with:

    if(!empty($this->atts['container_links']) || !empty($custom_url))
    				{
    					$this->loop[$key]['html_tags'] = array('a target="_blank" href="'.$this->loop[$key]['url'].'"','a'); //opening and closing tag for the masonry container
    				}

    Best regards,
    Ismael

    #232443
    lengleson
    Participant

    Im using the fixed header with social icons. Id like to add the drop down for google translations in that area as well. Is there a way to add the php code to that area?

    http://www.goldbergcoin.net/Wordpress/?p=734
    <?php echo do_shortcode(‘[google-translator]’); ?>

    #232438

    This was my solution/hack…

    /config-templatebuilder/avia-shortcodes/table.php
    line 294:

    
    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(" . ($counter + 1) . "):before { content: '".$row['content'][$counter]['content']."'; } ";
    

    And I used this custom CSS to fix the hiding/showing of headline column headers:

    @media only screen and (max-width: 767px){
    .responsive .avia-data-table .avia-button-row, .responsive .avia-data-table tr:first-child th {
    display: block;
    }
    .responsive  .avia-data-table .avia-heading-row .avia-center-col {
    display: none;
    }
    }

    The only thing that isn’t working now is changing the label if you have multiple headline rows within a data table..

    • This reply was modified 12 years, 1 month ago by nagato. Reason: updated the line number for v2.6.1
    #232402

    Hey!

    LS appear to be working:
    http://mygridline.com/?page_id=2970

    But the slider is empty:
    http://mygridline.com/wp-admin/admin.php?page=layerslider&action=edit&id=8

    Best regards,
    Josue

    #232399

    Hi Dude,

    thanks for your help – that worked well to reduce the number of post formats displayed in the backend.

    How do I have to insert the code for the child theme’s functions.php in order to make adjustments of the post format entypo-fontello icons that can be found in the parent’s theme functions.php (line 154 ff). Or can I simply use CSS to adjust that? If yes – how?

    $avia_config['font_icons'] = apply_filters('avf_default_icons', array(
     
        //post formats
        'standard' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue836'),
        'audio'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue921'),
    
        				
        //social		
        'behance' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue915'),
    	'dribbble' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fe'),
    	'facebook' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f3'),
    	'flickr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ed'),
    	'gplus' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f6'),
    	'linkedin' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fc'),
    	'instagram' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue909'),
    	'pinterest' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f8'),
    	'skype' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue90d'),
    	'tumblr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fa'),
    	'twitter' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f1'),
    	'vimeo' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ef'),
    	'rss' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue853'),  
    	'youtube'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue921'),  
    	'xing'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue923'),  
    	'soundcloud'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue913'),  
    	'five_100_px'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue91d'),  
    	'mail' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue805'),
    					
    	//woocomemrce    
    	'cart' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
    	'details'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue84b'),
    
    	//bbpress    
    	'supersticky'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue808'),
    	'sticky'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue809'),
    	'one_voice'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83b'),
    	'multi_voice'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83c'),
    	'closed'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue824'),
    	'sticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue808\ue824'),
    	'supersticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue809\ue824'),
    					
    	//navigation, slider & controls
    	'play' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
    	'pause'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue899'),
    	'next'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue879'),
        'prev'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue878'),
        'next_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87d'),
        'prev_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87c'),
    	'close'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue814'),
    	'reload'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue891'),
    	'mobile_menu'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8a5'),
    					
    	//image hover overlays		
        'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue832'),
        'ov_image'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
        'ov_video'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
        
    					
    	//misc			
        'search'  		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue803'),
        'info'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue81e'),
    	'clipboard' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8d1'),
    	'scrolltop' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue876'),
    
    ));

    Thanks for your support so far!

    Daniel

    #232279

    In reply to: H1 tags for titels

    Hi Miikey!

    Page titles are already H1 tagged http://i.imgur.com/ug3L7vC.jpg
    For post titles, please go to wp-content\themes\enfold\includes folder and open helper-post-format.php file and find

    $heading = is_singular() ? "h1" : "h2";

    and change it to

    $heading = is_singular() ? "h1" : "h1";

    Cheers!
    Yigit

    #232260

    In reply to: Issue after page edit

    This reply has been marked as private.
    #232105

    Hi!

    1) Yes – see: http://stackoverflow.com/questions/11817950/what-is-data-serialization – the important thing for you is that you can’t manipulate text stored as serialized data without changing some other values. I.e. if you replace:

    
    s:5:"hello" 
    

    with

    
    s:5:"hello world"
    

    the data wouldn’t be valid because php just searches for 5 characters and the text string “hello world” now has 11 characters. If you replace all occurrences of “world” with “hello world” in your database you also must make sure that the character count will reflect the change and increase/decrease the value accordingly. In this case

    
    s:11:"hello world"
    

    would be correct. The migrate script will take care of this issue.

    2) Yes, Enfold generates a dynamic stylesheet. However it does not store the options in the stylesheet but in the database and the stylesheet is just the output. The stylesheet will have the name of the current selected theme – if you activate a child theme you can delete the dynamic stylesheet of the enfold parent theme (enfold.css).

    Cheers!
    Peter

    #231767

    Okay, looks like I found the culprit for the issue…

    My server had eaccellerator installed which was unable to handle the theme’s php requests. The error itself was not that helpful, but I am including it in case anyone else has the same issue

    ——
    child pid 2575 exit signal Segmentation fault (11)
    ——

    #231470

    Thanks for the reply,

    The problem is getting the video to “swap out” in the same player. I want to create kind of a “playlist” of different video that can be played “onclick”. Check out the sample below and let me know what you think. is it possible in enfold?

    http://freshlifechurch.com/teachings/teaching_page.php?id=1747

    #231175

    Hi!

    You need to edit header.php again. If you want to preserve the modifications that you made, please use a child theme. http://vimeo.com/channels/aviathemes/67221517

    Best regards,
    Ismael

    #231147

    Hey condonpb!

    Please ask your host to check the php version. The PHP version 5.3.27 FastCGI can cause issues somehow and switching to 5.3.27 CGI (Stable) may fix the problem.

    Regards,
    Ismael

    Perfect! Thank you Peter!! Google powered search rocks! misspellings, semantic matches so much superior

    Here’s some CSS adjustments to the Google results page I made that may help others:

    .gsc-resultsHeader {display: none;}
    .gsc-orderby-container {display: none;}
    .gs-bidi-start-align {padding-left: 7px;}
    .gsc-thumbnail{padding: 8px 0 11px 8px;}

    Customization to results styles can be made at your Google CSE interface.

    Subscribe to the ads-free results and you may also remove Google branding:
    .gcsc-branding {display: none;}

    Note in search.php I inserted the google search script in lieu of the existing search replacing lines 21-47:

    <section class="search_form_field">
                                <?php
                                echo "<h4>".__('New Search','avia_framework')."</h4>";
                                echo "<p>".__('If you are not happy with the results below please do another search','avia_framework')."</p>";
    
                                get_search_form();
                                echo "<span class='author-extra-border'></span>";
                                ?>
                            </section>
                        </div>
    
                        <?php
                        if(!empty($_GET['s']))
                        {
                            echo "<h4 class='extra-mini-title widgettitle'>{$results}</h4>";
    
                            /* Run the loop to output the posts.
                            * If you want to overload this in a child theme then include a file
                            * called loop-search.php and that will be used instead.
                            */
                            $more = 0;
                            get_template_part( 'includes/loop', 'search' );
    
                        }
    
                        ?>

    Hope this will help other Enfold aficionados :)

Viewing 30 results - 15,991 through 16,020 (of 16,891 total)