Viewing 30 results - 1,471 through 1,500 (of 1,633 total)
  • Author
    Search Results
  • #305852

    In reply to: Image next to text

    Hi!

    You can use this code – insert it into the child theme functions.php or enfold/functions.php file:

    
    
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    function custom_override_checkout_fields( $fields ) {
         $fields['order']['order_comments']['label'] = 'Remarks (i.e. carbon offsets retired on behalf of John Smith):';
         return $fields;
    }
    

    If you also want to adjust the placeholder text use this code instead:

    
    
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    function custom_override_checkout_fields( $fields ) {
         $fields['order']['order_comments']['label'] = 'Remarks (i.e. carbon offsets retired on behalf of John Smith):';
         $fields['order']['order_comments']['placeholder'] = 'My placeholder text';
         return $fields;
    }
    

    and replace “My placeholder text” with your custom placeholder text.

    Best regards,
    Peter

    #305299

    Hi!

    1) You don’t need to modify the contact form code/class – you can add the code I posted above in the child theme functions.php file, enfold/functions.php or you can create a custom plugin.

    2) The question is what you want to do with the form data. If you just want to process it without sending emails please use this code:

    
    	add_filter('avf_form_send', 'avia_process_form_data', 10, 3);
    	function avia_process_form_data($send, $new_post, $form_params)
    	{
    		foreach ($new_post as $current_key => $current_post)
    		{
    			//loop through all contact form fields. $current_key contains the field name, $current_post the corresponding value.
    		}
    		return false;
    	}
    

    Then insert your custom code (which processes the form data) below the php comment line.

    
    //loop through all contact form fields. $current_key contains the field name, $current_post the corresponding value.
    

    You can i.e. store the submitted data into the database, write it to a text file, etc. Note that I can’t provide this code because it depends on your php application and it’s also beyond the scope of our support forum.

    Cheers!
    Peter

    #304667
    brentaxe
    Participant

    We are trying to use some custom HTML code that has both plain text as well as input text box fields however the enfold theme is currently formatting the page which does not look good and mis-aligns the elements…

    How can we override the page to NOT use CSS formatting and display the HTML code in it’s original state?

    We have tried using both the code box as well as the standard editor (Text box).

    • This topic was modified 11 years, 6 months ago by brentaxe.
    #303060

    In reply to: WPML Plugin

    This reply has been marked as private.
    #302878

    In reply to: Disable Enfold menu

    Hi guys,

    Nav Menu Roles does not yet work with the public version Enfold. I know because I am pretty sure I’m the guy who helped get support for it (and a few other menu plugins) in the upcoming version. I am guessing staff dev versions are a little ahead of the public version here.

    It is easy enough to add this code to line 510 or so of class-megamenu.php until the release:

    do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );

    But, actually, I’m surprised everyone forgot about add_theme_support( 'avia_conditionals_for_mega_menu' ); ;) That should solve it without a plugin.

    • This reply was modified 11 years, 7 months ago by mayorninja.
    #301971

    That worked perfectly. Thank you!
    How can this be avoided in the future?

    I did have to add back into my custom css one style so the form fields look nice:

    #top .input-text,
    #top input[type=”text”],
    #top input[type=”input”],
    #top input[type=”password”],
    #top input[type=”email”],
    #top input[type=”number”],
    #top input[type=”url”],
    #top input[type=”tel”],
    #top input[type=”search”],
    #top textarea,
    #top select {
    border: 1px solid #e1e1e1;
    }

    Dear Ismael:

    I really appreciate your help and I’m sorry to be so much trouble. I do understand that you get tons of requests for everything under the sun from users. I always hate to ask for help until I’ve spent a couple hours trying to figure it out myself. But by that time I am usually a little exasperated – which comes through in my posts – sorry. On the other hand, scores of times – as soon as I post for help; I figure it out. LOL

    I think I’m beginning to understand customizing using the Developer’s Section ID field. That’s pretty foreign to me – but only fair if the theme works that way. I’m so used to using the source code rather than input fields. But hey, like I said only fair.

    Thanks for the help with the customizations. It is very nice and helpful that you post the code for us.

    JUST ONE LAST THING.

    Am I correct that I can’t switch between the ALB and the WP Visual/Text area without losing my code? I read here that the ALB stores input in a different directory than WP – so I guess you would lose code switching back and forth.

    ### If that is the case, then I will not use the ALB. If I don’t use the ALB – does that mean none of the Demo pages will show me example code? ###

    Can you see where that leaves me kind of stuck using the ALB? Which, for many users, is like working in the dark.

    Seems like a radical departure from the dozens of themes I’ve bought from theme forest for the last decade and I’m surprised there was no clue about this in the marketing materials.

    It is too bad because I really like being able to drag things around. That is definitely easier than the regular way. :)

    Please let me know about example pages not using the ALB.

    thanks again

    #301646

    Hello Yigit,
    I have a custom_post_type “custombike” that should contain only 4 simple text input fields (e.g. motor, frame, wheels….that is allready done and working fine) and a gallery. And I would love to use the gallery widget of enfold without reactivating the editor. I want to keep this very simple for my customer and friend. So I would like to use this short code widged as a custom field. I´m a bit concerned if his layout skills aren´t good enough, so I have to fix it every day. :P
    A second solution could be I reactivate the editor and save a prelayoutet gallery column that appear if he add a new “Custombike”.
    This assumes that the avia layout builder has to be activated default (at the moment I have to activate it first) and I could use a layout template.
    Best regards
    Jörg

    #300815

    We are also experiencing this same issue. The visual editor in the Avia Layout builder just shows HTML code in white text. In the Text tab, we can make edits, but we have to remove all extra spaces or it inserts <p> tags. The default editor seems to be OK.

    http://blackhawknetwork.nkv5.com (pass: dev) is the staging site (both live and staging have the same issue). We are on V 2.4.4., but I am not clear exactly how to upgrade the theme to Version 2.9.1 which I did download today.

    Here are the plugins we are using on this site:
    Advanced Custom Fields, Advanced Custom Fields: Nav Menu Field, BackWPup, Contact Form 7, Contact Form 7 Honeypot, Duplicator, Logooos WordPress plugin, Password Protected, Quick Page/Post Redirect Plugin, Simple 301 Redirects, Simple Google Analytics, SubHeading, WordPress Importer, WordPress Simple Firewall, WP Video Lightbox

    #298880

    This theme is more insane the more I use it. Custom CSS fields just opened a whole new world! Love it!

    Thanks Yigit!

    #298229

    Topic: Create a php template

    in forum Enfold
    Jay
    Participant

    Hi,

    I’m wanting to create a custom php template so I can add in Custom Fields.

    I managed to create a template easily that pulls through when its selected on the page by copying the ‘page.php’ file on the enfold theme, however I can’t get any of the other Enfold functionality to pull through (for example, I add elements into the avia layout builder, it doesnt pull them through.)

    Ideally I’d like to be able to pull through whatever avia layout elements are on the page (at the top, so we could add a slider or something), and then my own custom templating at the bottom.

    Is there a way I can achieve this with Enfold?

    Thanks

    #298048

    Hi!

    Can you please re-arrange the contact form field elements? The order should be Name, Message, Email then Subject. Set all fields to fullwidth excerpt the Message field. Set it to 1/2. Add this on Quick CSS or custom.css:

    .avia_ajax_form p {
    width: 48%;
    }
    
    .avia_ajax_form p:nth-child(3) {
    float: left;
    clear: none;
    margin-left: 2%;
    }
    
    .avia_ajax_form p:nth-child(4) {
    margin-top: -50px;
    }
    
    .avia_ajax_form p:nth-child(5) {
    margin-top: -20px;
    }

    Regards,
    Ismael

    #292762
    Heidilaugesen
    Participant

    Hi,

    I search through the forum, because I would like to make the text fields slimmer (reduce the space between the text and the border.

    I tried to paste this in my custom.css, but nothing happens. Can you help?

    #top select {
    -webkit-appearance: none;
    border: 1px solid #e1e1e1;
    padding: 0px 6px; !important;
    outline: none;
    font: 13px “HelveticaNeue”, “Helvetica Neue”, Helvetica, Arial, sans-serif;
    color: #777;
    margin: 0;
    !important;
    width: 510px;
    !important;
    max-width: 100%;
    display: block;
    margin-bottom: 0px;
    background: #fff;
    border-radius: 0px;
    height:1px; !important;
    }

    #292568

    In reply to: portfolio url issue

    Hey!

    If you’re using the nsp code plugin the arrows will not work correct because the plugin breaks the default wordpress functions for next/prev post queries ( http://codex.wordpress.org/Function_Reference/get_next_post and http://codex.wordpress.org/Function_Reference/get_previous_post ). Personally I wrote some code for a workaround which works with the premium version of the plugin and which runs on my website:

    
    add_filter('avia_post_nav_entries', 'avia_apply_custom_sort_order_to_post_nav', 10, 2);
    function avia_apply_custom_sort_order_to_post_nav($entries, $settings)
    {
    	if(class_exists('APTO_functions'))
    	{
    		$APTO = new APTO_functions();
    		$category_ids = false;
    		$args = array();
    		$the_id = get_the_ID();
    
    		if(!empty($settings['same_category']))
    		{
    			$taxonomies  = get_object_taxonomies(get_post_type($the_id));
    			$excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
    
    			if(!empty($taxonomies))
    			{
    				foreach($taxonomies as $taxonomy)
    				{
    					if(!in_array($taxonomy, $excluded_taxonomies))
    					{
    						$category_ids = wp_get_post_terms($the_id, $taxonomy, array("fields" => "ids"));
    
    						if(!empty($category_ids))
    						{
    							$args = array(
    								'taxonomy' => $taxonomy,
    								'term_id' => array_shift($category_ids)
    							);
    							break;
    						}
    					}
    				}
    			}
    		}
    
    		$entries['prev'] = $APTO->apto_get_adjacent_post($args, true);
    		$entries['next'] = $APTO->apto_get_adjacent_post($args, false);
    	}
    	return $entries;
    }
    

    but I’m not sure if it works with the free version. You can place it into the theme functions.php file. If it doesn’t work please contact the plugin author because we can’t support third party plugins and it’s beyond the scope of our support forum. As a temporary solution you can deactivate the nsp plugin.

    Cheers!
    Peter

    #291553

    In reply to: Blog grid on mobile

    Aiii, I have a lot of custom coding in the templates to show and style the custom fields I created with the ACF plugin. Any chance you have a file change list against version 2.8.1 so I can check if my files can be used or I have to create them again…

    #289749

    I sort of figured out a workaround with the plugin Advanced Custom Fields. I created a custom field for the posts and within the functions for the plugin I use to create these posts (it’s a wiki) I set the get_posts array to grab the custom field.

    Thanks for your help!
    Brock

    #288785

    Hi!

    Thank you for using the theme!

    First, using the plugin create a custom field called portfolio-test for example. Edit admin > register-portfolio.php, find this code on line 38:

    'supports' => array('title','thumbnail','excerpt','editor','comments')
    

    Replace it with:

    'supports' => array('title','thumbnail','excerpt','editor','comments','custom-fields')
    

    This will enable the custom fields or portfolio items. Next edit the portfolio item then add the portfolio-test custom field. Edit config-templatebuilder > avia-shortcodes > portfolio.php find this code on line 471:

    $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';
    

    Replace it with this:

    $custom_field1 = get_post_meta( $the_id, 'portfolio-test', true );
    					 
                        $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';
    					$output .= $custom_field1;

    We create a variable called $custom_field1 and applied the portfolio-test key. We then output the $custom_field1 below the excerpt.

    Best regards,
    Ismael

    #288602

    Of course, here a little example: https://imageshack.com/i/nll7y6p

    ..and this is the part of code inside portfolio.php, how i can add some custom fields from plugin “Advanced Custom Fields”?

    if(!empty($title))
    {
    $markup = avia_markup_helper(array(‘context’ => ‘entry_title’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup));
    $output .= ‘<header class=”entry-content-header”>’;
    $output .= “<h3 class=’grid-entry-title entry-title’ $markup>“.$title.”</h3>”;
    $output .= ‘</header>’;
    }
    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.$excerpt.”</div>” : ”;
    $output .= !empty($title) || !empty($excerpt) ? “</div>” : ”;
    $output .= ‘<footer class=”entry-footer”></footer>’;
    $output .= “</article>”;
    $output .= “</div>”;

    #288538
    housedada
    Participant

    Can i add tags or some custom fields (i’m using Advanced Custom Fields) on a Portfolio Grid layout behind excerpt?
    many thx!

    #288533

    Hi!

    Thank you for the info.

    I’m not sure why the featured images are acting that way but please add this on custom.css:

    .small-preview img, .big-preview img {
    display: block;
    border-radius: 4px;
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    }

    You can also add it on Enfold (ES) and Enfold (CA) Quick CSS fields.

    Best regards,
    Ismael

    originaltours
    Participant

    Love the theme, really versatile.

    I have created some custom fields with the ACF plugin and managed to show these on the single post page, no problem. I can also hide the date field in the Enfold settings, works!

    But now, I would like to show some custom fields as well on the blog post grid on the overview pages. Please see the link below.

    In which file I should edit this?

    I have Woo commerce installed and am using that for payment with my shopping cart, plus I’ve purchased LayerSlider. Will updating mess up all of my Woo settings or the Layer Slider? Should I update only the folders and things changed?

    I noticed that the js folder was updated which includes shortcodes.js. Will replacing this folder overwrite the short code I added that allows the mp3 player to display?

    Thanks,

    Thomas

    2014 May 28th – Version 2.8
    – style.css – new version number
    – search.php – improved: compatibility with url rewrite rules
    – template-archives.php – fixed: a display bug when no blog posts are available

    – folder config-templatebuilder:
    – added: new Element: Animated Numbers that count from 0 to whatever number you have entered
    – added: Masonry and Masonry Gallery can be used on pages with sidebar now (previously only fullwidth)
    – added: contact form allows comma separated list of receiving emails
    – added: contact forms “email” form fields use the “email” html type on mobile devices, so the keyboard layout shows the @ sign by default
    – added: contact form fields now can have a column width of 1/1, 1/2, 1/3, 1/4, 2/3 and 3/4
    – added: contact form description fields were added so you can add headings and descriptions between elements
    – added: contact form can now be redirected to a new page after send, so you can display custom messages and track conversion paths
    – added: contact form now has a sending indicator as visual feedback for the user
    – added: table editor now allows to move existing rows and columns when editing the table
    – added: color section option to remove the top border manually for a “flat” look
    – added: image element now got a caption option as well as improved animation
    – fixed: a problem with widget element not displaying the correct value
    – fixed: a problem with shortcode “magic wand” button causing a white text area
    – fixed: a problem with iconfont uploader throwing an error when uploading a font
    – fixed: a problem with the code block element and improper whitespace stripping

    – folder js:
    – fixed: a bug with the ajax search on Windows Chrome
    – fixed: a bug with youtube videos starting when they shouldn’t
    – improved: masonry layout script was updated so there should be less issues with misaligned masonry elements
    – improved: contact form javascript
    – improved: fly out menu for mobile devices

    – folder css:
    – fixed: a small issue with the post slider image overlay
    – fixed: an issue with images not resizing correctly when resized in the wordpress editor
    – fixed: an problem with the cart icon not displaying on boxed layouts
    – fixed: a problem with top padding when using the blank template
    – added: form css classes for various columns
    – added: form css classes for button while sending
    – improved: print.css file

    – folder includes:
    – added: reddit icon for header social media icons

    #285358

    Topic: WPML and Enfold

    in forum Enfold
    richardwilding
    Participant

    Hi, I would like to install WPML to create a dual English / Arabic version of my site.

    Is Enfold compatable with WPML, allowing me to clone all my pages and portfolio custom posts to create the two language versions?

    Are there likely to be any conflicts with the Enfold Advanced Layout Editor, or any restrictions on using right-to-left Arabic text in any of the Enfold layout elements or text entry fields? Right-to-left Arabic text is generally well supported in modern Unicode.

    Thanks, Richard

    #285241

    In reply to: Building product pages

    Hey tech500!

    WooCommerce has options for how to display the categories on your shop page in WooCommerce>Settings>Products and then under the Product Listings section.

    The WooCommerce documentation covers those options in more detail if the inline notes aren’t enough to get the subcategory display set up for you.

    For related products, they will show up automatically as long as you have products in the same categories.

    Showing custom fields on the pages is outside the scope of what we can help with via support but using the WooCommerce hooks and filters there are lots of tutorials available online to help with implementing the output yourself.

    Best regards,
    Devin

    Hey neotemplates!

    Thank you for using our theme.

    A possible answer to your question you can find here:

    https://kriesi.at/support/topic/portfolio-items-custom-fields/

    If anything is unclear, don’t hesitate to contact us again.

    Cheers!
    Günter

    #285005
    neotemplates
    Participant

    Hello,

    i activated the avia layout builder on my custom post type “books”. That is working. At the same time i want to use for example the single-books.php template cause i also want to add some custom fields in it. like “Price, Author” etc. I created these custom fields in the plugin, and added it in the single-books.php. But when layout builder is activated for this custom post type. This template is not being used anymore. How can i make it, that both is using? layout builder and also being able to use custom fields…

    thanks

    #284947
    denisrowe
    Participant

    Hi, Would appreciate help on how to add information like “type=tel” and “type=email” to the input fields on forms so that the right keyboard will appear on phones.when entering text nto that fields.

    The form is

    [av_contact (Email address hidden if logged out) ' title='Contact Us' button='Contact me now' on_send='' sent='Thanks we will contact you ASAP. Regards, Force' link='manually,http://' subject='Inquiry from web site' autorespond='' captcha='' custom_class='']
    [av_contact_field label='Full Name' type='text' options='' check='is_empty' width=''][/av_contact_field]
    [av_contact_field label='Phone Number' type='text' options='' check='is_phone' width=''][/av_contact_field]
    [av_contact_field label='E-Mail' type='text' options='' width='' check=''][/av_contact_field]
    [av_contact_field label='Your Message' type='textarea' options='' width='' check=''][/av_contact_field]
    [/av_contact]

    #280169
    wrongjon
    Participant

    Hi
    I’m using a child Enfold theme and want to add some custom php to display some promo boxes under my content on the homepage

    The promo boxes are controlled by custom fields in that page

    To do this I need to save a copy of the php page template to my child theme so which php template is the default template using? page.php or index.php

    I copied page and then my full screen slider was no longer full screen. So I then tried copying index.php and the related loop-index.php and then I got weird results so just wondered if you can guide me on how to create a new php template based on the enfold default page template please

    regards
    Jonathan

    afarahani
    Participant

    Hello Guys!

    1) I wan’t my portfolio using Ajax. However, when I try to insert a contact form short code after doing customization, upon pressing the save button nothing gets inserted! this is true with accordion too!

    2) Also I dont want the page title appears on top of my Ajax portfolio. How can i eliminate it?

    P.S: The contact form short code works if I don’t customize the fields and just insert the standard from.

    Hi debbienz!

    When using any plugin that duplicates a page or clones it the meta data for the breadcrumb or title visibility can get stuck. If you go to the Screen Options tab on the top right of your page editor screen and click it, then click on the Custom Fields check box you’ll be able to edit the data directly.

    So the header value might be stuck on yes or no and changing it then updating will reset it.

    Cheers!
    Devin

Viewing 30 results - 1,471 through 1,500 (of 1,633 total)