Viewing 30 results - 16,171 through 16,200 (of 16,891 total)
  • Author
    Search Results
  • #214494

    Sorry, its not about this topic, but cant send PM … so i do it that way :-)

    @ Glyyphism
    Still looking for grayscale google maps?

    Solution for u with the site u told us about (http://snazzymaps.com/style/15/subtle-grayscale )

    Open class-framework-widgets.php and search for

    var myOptions = {
    		  zoom:".$zoom.",
    		  mapTypeControl:true,
    		  mapTypeId:google.maps.MapTypeId.".$type.",
    		  mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    		  navigationControl:true,
    		  navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
    		  center:latlng		  
    		};

    replace it with:

    var myOptions = {
    		  zoom:".$zoom.",
    		  mapTypeControl:true,
    		  mapTypeId:google.maps.MapTypeId.".$type.",
    		  mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
    		  navigationControl:true,
    		  navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
    		  center:latlng,
    		  styles: [{featureType:'water',elementType:'all',stylers:[{hue:'#e9ebed'},{saturation:-78},{lightness:67},{visibility:'simplified'}]},{featureType:'landscape',					elementType:'all',stylers:[{hue:'#ffffff'},{saturation:-100},{lightness:100},{visibility:'simplified'}]},{featureType:'road',elementType:'geometry',stylers:[						{hue:'#bbc0c4'},{saturation:-93},{lightness:31},{visibility:'simplified'}]},{featureType:'poi',elementType:'all',stylers:[						{hue:'#ffffff'},{saturation:-100},{lightness:100},{visibility:'off'}]},{featureType:'road.local',					elementType:'geometry',stylers:[{hue:'#e9ebed'},{saturation:-90},{lightness:-8},{visibility:'simplified'}]},{featureType:'transit',elementType:'all',stylers:[						{hue:'#e9ebed'},{saturation:10},{lightness:69},{visibility:'on'}]},{featureType:'administrative.locality',elementType:'all',stylers:[						{hue:'#2c2e33'},{saturation:7},{lightness:19},{visibility:'on'}]},{featureType:'road',elementType:'labels',stylers:[{hue:'#bbc0c4'},{saturation:-93},{lightness:31},						{visibility:'on'}]},{featureType:'road.arterial',elementType:'labels',stylers:[{hue:'#bbc0c4'},{saturation:-93},{lightness:-2},{visibility:'simplified'}]}]		  
    		};

    This works. Have fun :-)

    • This reply was modified 12 years, 2 months ago by docperi.
    #214465

    I tried both, but the error keep coming when saving a page.

    I have an additinal error on my dashboard when i want to go to the update section :

    (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/update.php on line 267
    No direct script access allowed

    Is there a way to make a fresh installation for wordpres en Enfold. Without loosing my pages en data ?
    Is this the best to do now, or do you have another sollution ?
    Or should i undo the APi class udate ?

    #214401

    More Errors when I updated tot WP 3.8.1

    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    #214396

    I added is whitout result. When saving this page<http://www.celebrationevents.eu/verhuur/deejay-inhuren/

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 331
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 332
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 333
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #214333
    Pixelbits
    Participant

    I was looking for a different onhover effect for the Enfold portfolio. With the help of some Googling I changed the arrow to a slideover-excerpt-text effect.

    To change this you have to know how to code – preferably in a child theme that you can download here:http://bit.ly/enfold-child

    Example of onhover effect:
    http://i40.tinypic.com/ndvqpz.jpgimage effect example

    What did i change:
    PORTFOLIO.PHP (Version: 2.4.5)

    New code:
    somewhere from line 395 (fullwidth portfolio) I changed some settings and added some classes. This is not very clean code but it can help you achieve this very easily.

    else
                    {
                        $extraClass .= ' default_av_fullwidth ';
    
                        $output .= "<div data-ajax-id='{$the_id}' class=' rozepitem grid-entry flex_column isotope-item all_sort {$style_class} {$post_class} {$sort_class} {$grid} {$extraClass}'>";
    	                $output .= !empty($excerpt) ? "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'><div class='rozeptxt grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false)).">".$excerpt."</div></a>" : '';
        
                        $output .= "<article class='main_color inner-entry' ".avia_markup_helper(array('context' => 'entry','echo'=>false)).">";
    					
                        $output .= apply_filters('avf_portfolio_extra', "", $entry);
                        $output .= "<".$link_markup[0]." data-rel='grid-".avia_post_grid::$grid."' class='grid-image avia-hover-fx'>".$custom_overlay.get_the_post_thumbnail( $the_id, $image_size )."</".$link_markup[1].">";
                        $output .= !empty($title) || !empty($excerpt) ? "<div style='z-index:100;box-shadow: 0px -5px 20px #888888;' class='grid-content'><div class='avia-arrow'></div>" : '';
    
                        if(!empty($title))
                        {
                            $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
                            $output .= '<header style="z-index:100;" class="entry-content-header">';
                            $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
                            $output .= '</header>';
                        }
                        $output .= !empty($title) || !empty($excerpt) ? "</div>" : '';
                        $output .= '<footer class="entry-footer"></footer>';
                        $output .= "</article>";
                        $output .= "</div>";
                    }
    
    				$loop_counter ++;
    				$post_loop_count ++;
    				$extraClass = "";
    
    				if($loop_counter > $columns)
    				{
    					$loop_counter = 1;
    					$extraClass = 'first';
    				}
    			}

    Then i added a jQuery part in a JS file (e.g. shortcodes.js):

    $('.rozeptxt').animate({
          opacity:'0',
          top:'300px',
        });
    
    $('.rozepitem').hover(  
      // Over
      function(){     
    	$(this).find('.rozeptxt').animate({
          opacity:'0.9',
          top:'0px',
        });
    
      }
      ,  
      // Out
      function(){
    	$(this).find('.rozeptxt').animate({
          opacity:'0',
          top:'300px',
        });
    
      }
    );
    

    In the custom CSS-field I added this:

    
    .image-overlay { display: none!important; } 
    
    .entry-title {font-weight:bold;font-size:13pt;}
    
    .rozeptxt{color:#7c6853;font-size:13pt;position: absolute;top:0px;left:0px;
        background: rgba(255,255,255,0.9);width: 100%;height: 100%;z-index:50;padding:20px;}
    
    .rozepitem{display: block;float: left;
        position: relative;overflow:hidden;}
    

    I know the code can be a lot cleaner, but i saw other people wanting this – so maybe this helps them create something awesome.

    • This topic was modified 12 years, 2 months ago by Pixelbits. Reason: example image effect added
    #214266

    Weird. It doesn’t display that icon in Chrome on the Windows 8.1 PC I’m working on, but DOES on my home theater PC running Windows 7. Oh well. Nevermind.

    Can I possibly bug you one more time about the full-width header? Again, thank you so much for getting that to work for me. I think it needs some more css edits for the header height when reduced to tablet and phone screen sizes.

    http://64.91.254.11/~gdigital/tyeonej.com/wp-admin/post.php?post=128&action=edit

    Maybe the header should just stretch the full 1130 px instead of the left and right margins? Just an idea.

    Again, thank you so much for all the help!

    Steve

    #214229
    Lynnr321
    Participant

    I have been experiencing fatal errors and could not use the admin side of WordPress earlier today. I think I have them fixed now, but I’m not sure. I am sending this along to you as I am seeing others like this and hope it may help in troubleshooting it for everyone.

    Earlier today:
    When logging into Pages, they responded very randomly. For instance, the Home page does not display or sometimes gives a fatal error and the Rates page comes up with only the default editor and otherwise a blank white screen. Oddly, the user side looks and operates fine. Below are some threads I’ve posted on for this problem and some things I’ve done from your advise that, so far, have not worked.

    I love this theme -it is one of the nicest themes I’ve ever developed with, BUT I need to get it to launch successfully and be stable.

    My site is at: http://bit.ly/1ff9EVF

    Thanks -Lynn

    Link: https://kriesi.at/support/topic/fatal-error-caused-bij-enfold/

    January 23, 2014 at 6:17 pm

    I am receiving similiar php warnings and my host said to contact the Theme developers. My site is at: http://bit.ly/1ff9EVF
    Should I open a new thread or can you help on this one?
The error I am receiving is:
Fatal error: Cannot use object of type WP_Error as array in /home/sterling/public_html/new-wordpress/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344
    I have also been receiving php memory limit errors, but I increased the allotment and that seemed to resolve that.
    Thanks -Lynn

    January 23, 2014 at 8:04 pm

    For now, I have resolved this by deactivating the Jetpack plugin.
    It caused this error when loading, but then loaded the plugin:
Fatal error: Out of memory (allocated 67633152) (tried to allocate 122880 bytes) in /home/sterling/public_html/new-wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php on line 269
    Then it gave this error when I clicked on Sites Stats (twice):
We were unable to get your stats just now. Please reload this page to try again. If this error persists, please contact support. In your report please include the information below.
    User Agent: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/6.1.1 Safari/537.73.11″
Page URL: “http://sterlingridgeresort.com/new-wordpress/wp-admin/admin.php?page=stats&noheader”
API URL: “http://dashboard.wordpress.com/wp-admin/index.php?noheader=true&proxy&page=stats&blog=58935943&charset=UTF-8&color=coffee&j=1:2.7″
http_request_failed: “Couldn’t resolve host ‘dashboard.wordpress.com’”
    I disabled Jetpack and some of the errors went away (I thought it was fixed), but when I went into several pages, then I received the random errors described above.

    Then I did the suggestions at the end for the php.ini file:
    link: https://kriesi.at/support/topic/java-script-error/
    January 16, 2014 at 9:52 am

    Hey!
    This is not an incompatibilty issue but a problem of the envato theme update api. You can try two things:
    1) Update the api file to the latest version – the code can be found here: https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php – just delete the code in wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and insert the updated code. I’m not sure if it will work though (I can’t test it).
    2) Deactivate the update api – insert following code into the child or parent theme functions.php file – i.e. insert it at the very bottom of the file
    add_theme_support(‘avia_manual_updates_only’);
    Cheers!
Peter

    It still was not fixed.
    Then I increased the PHP Configuration to 200M. Still not fixed.
    Then I turned off the NextGEN Gallery by Photocrati & NextGEN Gallery Media Library Addon Plugins.
    And that! seems to have fixed it.
    Cross your fingers -hope this helps you in troubleshooting. It seems like I do not have an immediate problem, but it still doesn’t seem quite ‘right’. When changing text in the avia theme editor, sometimes I am getting the ‘Visual’ display and sometimes I need to go to the “Text” tab to edit the Text Block.

    I am using Liquid Web as the host.

    #214056

    For now, I have resolved this by deactivating the Jetpack plugin.

    It caused this error when loading, but then loaded the plugin:
    Fatal error: Out of memory (allocated 67633152) (tried to allocate 122880 bytes) in /home/sterling/public_html/new-wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php on line 269

    Then it gave this error when I clicked on Sites Stats (twice):
    We were unable to get your stats just now. Please reload this page to try again. If this error persists, please contact support. In your report please include the information below.

    User Agent: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/6.1.1 Safari/537.73.11”
    Page URL: “http://sterlingridgeresort.com/new-wordpress/wp-admin/admin.php?page=stats&noheader&#8221;
    API URL: “http://dashboard.wordpress.com/wp-admin/index.php?noheader=true&proxy&page=stats&blog=58935943&charset=UTF-8&color=coffee&j=1:2.7&#8221;
    http_request_failed: “Couldn’t resolve host ‘dashboard.wordpress.com'”

    #213996

    Ok…

    For me, there are 3 columns : https://partage.mines-telecom.fr/public.php?service=files&t=8e426959542a7aa9a58034a03ad97f9d

    In the backoffice, in the first colum (a description column), the cells are aligned with the cells of the second column :
    https://partage.mines-telecom.fr/public.php?service=files&t=7b2e3e03275f310fcc6b26db8e432245
    , but in the frontoffice, there are not aligned :
    https://partage.mines-telecom.fr/public.php?service=files&t=8e426959542a7aa9a58034a03ad97f9d

    Regards,
    Oli

    #213982
    erikwillems
    Participant

    Hi,

    Enfold seems to be causing a fatal error.

    May be this part of todays error_log helps you guys in solving this issue..

    [Thu Jan 23 09:58:54 2014] [error] [client 66.249.78.201] PHP Fatal error: Call to undefined function add_action() in /usr/home/lmscar124/www/wp-content/themes/enfold/config-layerslider/config.php on line 42
    [Thu Jan 23 10:30:53 2014] [error] [client 66.249.78.201] PHP Warning: require_once(ABSPATHwp-admin/includes/import.php): failed to open stream: No such file or directory in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
    [Thu Jan 23 10:30:53 2014] [error] [client 66.249.78.201] PHP Fatal error: require_once(): Failed opening required ‘ABSPATHwp-admin/includes/import.php’ (include_path=’.:/usr/local/share/pear’) in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
    [Thu Jan 23 11:44:05 2014] [error] [client 95.96.186.150] PHP Warning: Invalid argument supplied for foreach() in /usr/home/lmscar124/www/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 1987, referer: http://www.logitecqmedical.com/wp-admin/post.php?post=55&action=edit&lang=en&message=1

    I’m not into coding but I already spent quite some time getting enfold to work with WPML.

    Please can someone help me solving this?

    At WPML people start pointing at Enfold…

    thanx in advance

    rgds, erik

    #213900

    SEO by Yoast causes the problem!
    Whitout the the plugin activated the errors are disapeared!

    Can i still use the Yast plugin / my pages work when there are saved with the Yasot plugin activated ?

    When i rewmove en reinstall Yoast i get this message :
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    its the same error, van you fix this or should i conact Yoast ?

    #213880
    This reply has been marked as private.
    #213797

    Hello Peter

    One more error, entering the Menubuilder this shows up :

    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    #213781

    Hey Peter,

    Thanks this error is gone at the new created page.

    When i modfy an older page i get this error :
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 331
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 332
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 333
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    Hey Citrusjohn!

    The warning/error message tells you that the server tried to write the session data but it failed because it couldn’t open the temporary session folder (/home/content/21/10078221/tmp/sess_kskdel2l5qsk9ucaendi2348r2) to write the session data (failed: Permission denied). Please ask your hoster to fix the folder/session permissions. Without sessions you can’t use the theme properly.

    For more information you can read http://stackoverflow.com/questions/5104065/php-session-handling-errors and http://www.vikasing.com/2013/02/pita-6-php-warning-unknown.html

    Best regards,
    Peter

    #213733
    Imburr
    Participant

    I am seeing Google crawls of interior theme pages in GWT- should I block these with robots? I don’t necessarily understand why Google is even seeing them…

    
    	Priority	URL	Response Code	Detected
    
    1
    wp-content/themes/enfold/
    500
    1/20/14
    
    2
    wp-content/themes/enfold/config-layerslider/LayerSlider/add.php
    500
    1/19/14
    
    3
    wp-content/themes/enfold/framework/avia_framework.php
    500
    1/20/14
    
    4
    wp-content/themes/enfold/framework/php/auto-updates/auto-updates.php
    500
    1/20/14
    
    5
    wp-content/themes/enfold/framework/php/class-tgm-plugin-activation.php
    500
    1/20/14
    
    6
    wp-content/themes/enfold/framework/php/inc-autoconfig.php
    500
    1/20/14
    
    7
    wp-content/themes/enfold/framework/php/inc-avia-importer.php
    500
    1/20/14
    
    8
    wp-content/themes/enfold/framework/php/wordpress-importer/avia-import-class.php
    500
    1/20/14
    
    
    #213366
    SteveOh_UK
    Participant

    Hi folks.
    I just purchased the Enfold theme yesterday and I am loving it.
    I’ve never used a theme anything like its very intuitive.
    Is there a way to use an icon set from istockphoto in place of the icons that are in place at the moment?
    I think the icons at the moment are actually a font, the ones I would like to use are here

    #213272

    The pages works fine, but when is save the page these messages appaer :

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 233

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 234

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #213265
    CelebrationEvents
    Participant

    Hello Enfold Theme,

    i get more errors the loger i use Enfold, is there something wrong with my installation.
    Today i created a new simple portfolio page http://www.celebrationevents.eu/portfolio-item/bruiloft-kasteel-hooge-vuursche/
    Just a few fotos and text , i get the following error. Please advice

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 233

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 234

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #213157
    Camineet
    Participant

    Hello, I have a custom form to allow users to post from the front end to a custom post type (pending).

    The form function perfectly well on other themes (I have tested on other themes I have written). The form also works fine if I include the enfold header but comment out the include for the footer. Similarly, the form works if I comment out the header but include the footer. So whats the problem….well, when both header and footer are included the form does not post.

    Any ideas as to what in the theme could be prevent normal functionality?

    Here is my form:

    <div class="entry-content-wrapper clearfix" style="border: solid 0px black">
    <form class="avia_ajax_form" method="POST" form id="new_post" name="new_post" method="post" action="" enctype="multipart/form-data">
    	<fieldset style="border: 0px;">
    		<p id="IGN" class="form_element_half">
    			<label for="offender_ign" placeholder="IGN">Offender IGN <abbr title="required" class="required">*</abbr></label> 
    			<input id="offender_ign" type="text" value="" tabindex="5" name="offender_ign" class="text_input is_empty">
    		</p>
    		<p id="type_of_offence" class="form_element_half_2  form_element_half">
    			<!--<label for="cat">Type:</label>
            	<?php wp_dropdown_categories( 'tab_index=10&taxonomy=portfolio_entries&hide_empty=0' ); ?> -->
    
    			<label for="type_of_offence">Type of Offence</label> 
    			<select id="type_of_offence" class="select " name="category">
    				
    				<?php
    
    				// ======= Custom post types category drop down ======== 
    				$taxonomy = 'portfolio_entries';
    				$terms = get_terms($taxonomy); // Get all terms of a taxonomy
    
    				if ( $terms && !is_wp_error( $terms ) ) :
    				    
    			       	 foreach ( $terms as $term ) { 
    			           echo '<option value="' . get_term_link($term->slug, $taxonomy) . '">' . $term->name . '</option>';
    			        }
    				        
    					endif;
    				?>
    
    			</select>
    		</p>
    		<p id="element_description">	 
    			<label for="description" class="textare_label hidden textare_label_avia_description">Description</label>	
    			<textarea id="description" rows="7" cols="40" class="text_area " name="description"></textarea>
    		</p>
    		<p id="element_image_upload">
    			<label for="image_upload">Image Upload</label>
    			<input id="image_upload" type="file" value="" class="text_input" name="image">
    		</p>
    		<p id="element_tags">
    			<label for="post_tags">Tags <small>(Comma Separated List)</small></label> 
    			<input id="post_tags" type="text" value="" class="text_input " name="post_tags">
    		</p>   
    		<p id="hidden_submit">
    			<input type="hidden" name="form" value="1">
    			<!--  on click, do wordpress action new_post  -->
    			<input type="submit" class="button" name="submit" value="Submit">
    		</p>
    			<!-- ensure post is coming from site and not elsewhere -->
    			<input type="hidden" name="action" value="new_post" />
       			<?php wp_nonce_field( 'new-post' ); ?>
    		</fieldset>
    	</form>
    	</div>

    The form functions:

    <?php 
    
    if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) &&  $_POST['action'] == "new_post") {
    
    	// Do some minor form validation to make sure there is content
    	if (isset ($_POST['offender_ign'])) {
    		$title =  $_POST['offender_ign'];
    	} else {
    		echo 'Please enter the In Game Name (IGN) of the offender';
    	}
    	if (isset ($_POST['description'])) {
    		$description = $_POST['description'];
    	} else {
    		echo 'Please enter some notes about the hate speech';
    	}
    
    	$tags = $_POST['post_tags'];
    
    	// ADD THE FORM INPUT TO $new_post ARRAY
    	$new_post = array(
    	'post_title'	=>	$title,
    	'post_content'	=>	$description,
    	'post_category'	=>	array($_POST['category']),  // Usable for custom taxonomies too
    	'tags_input'	=>	array($tags),
    	'post_status'	=>	'pending',           // Choose: publish, preview, future, draft, etc.
    	'post_type'	=>	'portfolio'  //'post',page' or use a custom post type if you want to
    	);
    
    	//SAVE THE POST
    	$pid = wp_insert_post($new_post);
    
                 //SET OUR TAGS UP PROPERLY
    	wp_set_post_tags($pid, $_POST['post_tags']);
    
    	// Image handling
    	if ($_FILES) {
    	foreach ($_FILES as $file => $array) {
    	$newupload = insert_attachment($file,$pid);
    	// $newupload returns the attachment id of the file that
    	// was just uploaded. Do whatever you want with that now.
    	}
    }
    
    	//REDIRECT ON SAVE
    	$link = "/success";
    	wp_redirect( $link );
    
    } // END THE IF STATEMENT THAT STARTED THE WHOLE FORM
    
    //POST THE POST YO
    do_action('wp_insert_post', 'wp_insert_post');
    
    ?>
    #212700

    Hello josue,

    Thank you for the quick response! I tried to insnatall de LayerSlider plugin but i get this:

    Fatal error: Cannot redeclare layerslider_load_lang() (previously declared in /home/testsite/domains/testsites-swipemedia.nl/public_html/new/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php:118) in /home/testsite/domains/testsites-swipemedia.nl/public_html/new/wp-content/plugins/LayerSlider/layerslider.php on line 78

    Is it also not possible to do this?

    Greets Tim

    #212637
    stupaul22
    Participant

    I want to add the yelp icon. This one is not in the entypo-fontello default set.
    The yelp icon is available on http://fontello.com/ as one of the Zocial characters.
    So I select it (I take note of the character number=e800) and download it and get a file called: fontello-13441bde.zip.
    So I upload that file to Icon font Manager and put in all the code:

    layout.css
    [#top .social_bookmarks_yelp:hover a{color:#fff; background-color:#cb2027; }]

    functions.php
    [‘yelp’=> array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’),]
    (NOTE I USED “fontello” not “entypo-fontello”)

    register-admin-options.php
    [‘Yelp’ => ‘yelp’,]

    BUT the icon shows up as the box with “e8” over “00” WHY am i getting this instead of the actual icon?

    See social header, top left, first icon here:
    http://www.brixenivy.com/newsite/

    See also here:
    http://www.brixenivy.com/newsite/test/

    Thanks for your help.

    Hey tdgano!

    You can edit header.php, find this code on line 178:

    wp_nav_menu($args);

    Below, you can add the search form code:

    echo "<div class='s2'>";
    get_search_form();
    echo "</div>";

    Add this on Quick CSS to position the searchform:

    .s2 {
    position: absolute;
    right: -0;
    }

    Best regards,
    Ismael

    Hi martinbose!

    You can add a unique selector for each Avia Elements. Edit functions.php, find this code:

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

    Below, add this code:

    add_theme_support('avia_template_builder_custom_css');

    Edit the Color Sections then add a unique custom css like “hide-section”. You can use media query to hide all sections with the “hide-section” selector. Add something like this on Quick CSS or custom.css:

    @media only screen and (max-width: 767px) {
      .hide-section {
    display: none;
    }
    }

    Best regards,
    Ismael

    #212345

    Topic: Error Install

    in forum Enfold
    adfiles
    Participant

    Hi,

    I have error when I install Enfold :

    Warning: session_start(): open(/tmp/sess_781b389550d0a110632ca2beef0d8dc6, O_RDWR) failed: Permission denied (13) in /home/adgroup/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33

    Warning: Unknown: open(/tmp/sess_781b389550d0a110632ca2beef0d8dc6, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    Help me thanks

    #212105
    VladInfo
    Participant

    Hi.
    After pressing the activation – Admin panel was white page and edit anything. I tried an install theme for WordPress 3.8 and 3.7.
    Installation was under the instruction. This new site, the new database, my server: apache 2.2.25; php 5.4.17; mysql 5.5.33
    Can I get an older version of Enfold Theme?
    Help, please.
    My email for reply
    (Email address hidden if logged out)

    Thanks in advance,
    Vlad.

    • This topic was modified 12 years, 2 months ago by VladInfo.
    #211944

    Look the error:
    Parse error: syntax error, unexpected T_CLASS, expecting ‘,’ or ‘;’ in /home/euque835/public_html/mariliadario.com.br/wp-content/themes/enfold/includes/loop-index.php on line 176

    Now, the code:

                echo $content;
                $description = get_the_author_meta(‘description’, $author_id);
    echo “<div class=’author_description_text’” .avia_markup_helper(array(‘context’ => ‘description’,'echo’=>false)).”>”.wpautop($description).”</div><span class=’author-extra-border’></span></div>”;
                
                echo '</div>';
    
    #211871
    sineadh
    Participant

    Hi,

    I’m wanting to use Raleway 400,500,600 weights:

    paragraph – raleway 500;
    h1 {
    font-family: ‘Raleway’, san serif;
    font-size: 20px;
    line-height: 23px;
    font-weight: 500;
    color: #a37908;
    }
    h2 {
    font-family: ‘Raleway’, san serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    color: #a37908;
    }

    I’ve added this into functions.php as above but not sure how to set the rest.

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:400,500,600’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:400,500,600’;
    return $fonts;
    }

    Thanks!

    #211814
    albrowncompany
    Participant

    Hi – I’ve got enfold on two websites. One with godaddy and one with wp-engine for two different but related companies (two different copies were bought).

    I’ve lost control over the header, footer, and color choices and sizing on one copy.

    On my machines (two laptops, tablet, phone) on three different networks – we keep seeing tan headers and footers. I’ve adjusted on enfold to be something wild and different to illustrate the point – like pink and red.

    But the changes don’t seem to be taking effect.
    I can add pages, information, images, but I can’t control the style colors.

    http://www.seaislandgaexperts.com is the website.
    wp-engine has told me they see no issues and can’t help me
    they can’t replicate the issue

    they seem to be able to see different colors – but I can’t.
    ive reset the router, the cable modem, the computer, cleared cache, surfed on private settings
    nothing seems to work!

    Anyone have any ideas? I’m at a total loss

    Did find an error code on my hosting, but im a newbie and its greek to me:
    [Sat Jan 18 19:07:46 2014] [error] [client 66.249.73.41] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-1030/albrowncompany/wp-content/themes/enfold/index.php on line 9

    #211661

    Hey leomiranda92!

    Edit includes > loop-index.php, find this code on line 173:

    echo $content;

    Below, add this code:

    `$description = get_the_author_meta(‘description’, $author_id);
    echo “<div class=’author_description_text'” .avia_markup_helper(array(‘context’ => ‘description’,’echo’=>false)).”>”.wpautop($description).”</div><span class=’author-extra-border’></span></div>”;`

    Regards,
    Ismael

Viewing 30 results - 16,171 through 16,200 (of 16,891 total)