Viewing 30 results - 1,471 through 1,500 (of 1,619 total)
  • Author
    Search Results
  • #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

    #276811

    Ismael,
    thanks for the reply.

    I need that white color in other pages. I have a contact form on the bottom of different pages on dark color. So if there any way that I can change the text white color on white background please let me know.

    Regarding the Ajax problem, have you tried to customize the form and then insert it? I know that you can insert it right away without customizing it. But when you want to customize it by changing field’s name and adding new fields, you can’t insert any contact from.

    #275113

    Topic: Advanced Custom Fileds

    in forum Enfold
    mellasue
    Participant

    Hi there,
    I am trying to add custom fields to my posts ( venue, date, location etc) and am using the ACF plugin to create them. However I cant figure out how to display them in the post backend, and also therefore on the frontend. Could you tell me what pages I need to add code to?

    Many thanks,

    Mella

    #273166
    Pedro
    Participant

    Hi there,

    I’m using advanced custom fields with the theme. This plugin what it does is to provide a nice UI and add custom fields to any kind of post. One of this fields is call repeater field, and stores the data for multiples fields on an array of sub-fields.

    http://www.advancedcustomfields.com/resources/field-types/repeater/

    What I want is to use those fields that I have from before changing the theme, to keep all the info.

    The common code to display does fiels is this

    $rows = get_field('repeater_field_name');
    if($rows)
    {
    	echo '<ul>';
     
    	foreach($rows as $row)
    	{
    		echo '<li>sub_field_1 = ' . $row['sub_field_1'] . ', sub_field_2 = ' . $row['sub_field_2'] .', etc</li>';
    	}
     
    	echo '</ul>';
    }

    The thing is I’m trying to use [av_section] and [av_slideshow] in php using do_shortcode, and this is the code that I create:

    echo  do_shortcode("[av_section color='main_color' custom_bg='' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' min_height='' padding='default' shadow='no-shadow' id='']");
    				 echo do_shortcode ("[av_slideshow size='featured' animation='fade' autoplay='true' interval='5']");
    				 	
    					$rows  = get_field('images');
    					foreach($row as $row) :
    						echo  do_shortcode("[av_slide slide_type='image' id='" . $row['image'] ."' attachment=',' video='http://' mobile_image='' video_ratio='16:9' title='' link_apply='image' link='lightbox' link_target='']");
    						echo $row['image'];
    						echo  do_shortcode("[/av_slide]");
    					endforeach;
    					
    				 echo  do_shortcode("[/av_slideshow]");
    				 echo  do_shortcode("[/av_section]");

    But this doesn’t works at all. How should I do it? Thanks.

    #268433

    Hi Ismael and Devin,

    I apologize in advance… long reply coming. I hope it helps. :-) I got to look at the diffs between your (Ismael’s) Homepage Test and mine:

    1. The first color section has extra parameters in your version: video=” video_ratio=’16:9′.

    2. The three placeholder-tall images on the homepage are aligned center in yours and left in mine.

    3. The middle placeholder-tall image is animated top-to-bottom in yours and bottom-to-top in mine. I intend for just that image to be bottom-to-top.

    4. Your color sections have shadow set to no-shadow. Mine are set to shadow.

    5. More categories are included in the portfolio grid on mine.

    6. Your homepage-widgets color section has an empty av_textblock at the top of it. (I think I saw this in my document’s layout later and removed it.)

    7. The testimonial subtitles are different.

    8. The title is empty on my version’s contact form because there is a custom h2 title above the form.

    9. Small differences in the contact form like the to: email address and the label for Email address.

    There are also these changes in the text between yours and mine, maybe because of edits I made to my document while working on the CSS:

    1. There are no paragraph tags around some of your paragraphs. I’ve added some paragraphs that have their own CSS classes to mine. (I’m using the Disable WPAutoP plugin on my site.)

    2. I’ve added icons above the 5 services buttons. (I have not uploaded the icon font yet, so they are not displaying.)

    3. I switched the View our Portfolio button’s class from secondary-button to tertiary-button.

    4. Under the Homepage – column 1 widget area, I added a textbox with a button for viewing more articles.

    5-6. I added a class on the h3 for Why user experience design instead of web design?. I also split that textblock to put the button into a separate textblock.

    7. I changed the testimonial widget’s header to be an h3 with its own class.

    8. I added a Park/Company field to

    The rest of the differences are just whitespace.

    So, to sum up the shortcode diffs: I don’t see any differences that may affect the color section width other than the video parameters being added to yours.

    Here are the differences in the full HTML for the two pages:

    1. Their html_entry_id_ and avia_entry_id_ numbers are different.

    2. Your page’s images and CSS are using Pagespeed to optimize them; mine are not – maybe because your page is currently my site’s homepage. Similarly, your version minimizes some CSS that the plugins have not externalized.

    3. On yours, the Tipsy Social Icons CSS is within a <style> tag instead of a <link> tag.

    4. The plugins’ scripts are imported in a different order.

    5. Mine has a <link rel=’next’ …> tag.

    6. Your page uses the .home class.

    7. The breadcrumb trails are generated differently. Quite a bit of difference here, so please refer to the files’ HTML.

    8. Mine has this between the breadcrumbs and the div id for homepage-hero:

    <div class=’container_wrap container_wrap_first main_color fullsize’>
    <div class=’container’>
    <main class=’template-page content twelve alpha units’ role=”main” itemprop=”mainContentOfPage”>
    <article class=’post-entry post-entry-type-page post-entry-354′ itemscope=”itemscope” itemtype=”http://schema.org/CreativeWork”&gt;
    <div class=”entry-content-wrapper clearfix”>
    <header class=”entry-content-header”></header><div class=”entry-content” itemprop=”text”>

    9. The color section id’s in mine also contain classes like avia-builder-el-0, el_before_av_section, and avia-builder-el-first. These are also present in other things I built with the Avia editor, such as images.

    10. There are <main> elements associated with each color section ID in yours.

    11. My contact form uses a fieldset and classes like textare_label hidden textare_label_avia_message_2.

    12. Yours has some obfuscated JavaScript toward the end, starting with var addComment.

    I’ll continue looking into this to see if one element on the page seems to be causing the color section width to break. Firebug might show me this.

    Was your version created after I upgraded to Enfold 2.7.1? Would I be able to resolve this issue by creating new documents with the latest version of Enfold?

    Devin – Thanks. Right, I wasn’t going to change the raw shortcodes unless someone here instructed me to do that. I just turned on the debug mode long enough to do the diff above.

    I’ve commented out the code for adding the debug mode. Feel free to turn debug mode back on if you need it for looking at this issue. Also, if you need them, I have saved files containing the shortcodes for both of our versions of Homepage Test. Could I email these to you?

    Thanks,
    David

    alexiba
    Participant

    Hi,
    I am having 2 issues to use mailchimp signup. I describe each one:

    1.- I copy into a text widget the code took from mailchimp (see below the code at the end of this post) to register emails address, but the issue is that doesn’t show the register button in my website.

    I sought in this site similar case and i found in the post #25340 the follow recomendation:

    #mc_embed_signup input.button {
    visibility: visible;
    }
    I put this code in enfold/general styling/quick ccs style but it doesn’t work

    The follow image shows the mailchimp code issue in my site:
    http://www.nebi.co/wp-content/uploads/2014/05/issue-mailchimp-code.png

    2.- I bought mailchimp plugin to try to register emaill address but the issue is that it doen’t show checkbox to register form. I configure

    The follow image shows the plugin issue in my site:
    http://www.nebi.co/wp-content/uploads/2014/05/plugin-Issue-identification.png

    This image shows the plugin configuration:
    http://www.nebi.co/wp-content/uploads/2014/05/chekbox_Configuration.png

    This is my website link: http://www.nebi.co

    Could you help me to fix the issues?

    Thanks in advance
    Alexiba

    This is the mailchimp Code
    <!– Begin MailChimp Signup Form –>
    <link href=”//cdn-images.mailchimp.com/embedcode/classic-081711.css” rel=”stylesheet” type=”text/css”>
    <style type=”text/css”>
    #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
    /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
    We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <div id=”mc_embed_signup”>
    <form action=”http://nebi.us8.list-manage.com/subscribe/post?u=4345d84afd7ca74010ad51f5b&id=d861c8d67b&#8221; method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate>

    <div class=”indicates-required”><span class=”asterisk”>*</span> indicates required</div>
    <div class=”mc-field-group”>
    <label for=”mce-EMAIL”>Email <span class=”asterisk”>*</span>
    </label>
    <input type=”email” value=”” name=”EMAIL” class=”required email” id=”mce-EMAIL”>
    </div>
    <div class=”mc-field-group”>
    <label for=”mce-FNAME”>Nombre <span class=”asterisk”>*</span>
    </label>
    <input type=”text” value=”” name=”FNAME” class=”required” id=”mce-FNAME”>
    </div>
    <div class=”mc-field-group”>
    <label for=”mce-MMERGE2″>Apellido <span class=”asterisk”>*</span>
    </label>
    <input type=”text” value=”” name=”MMERGE2″ class=”required” id=”mce-MMERGE2″>
    </div>
    <div class=”mc-field-group input-group”>
    Interes <span class=”asterisk”>*</span>

    • <input type=”radio” value=”Business Intelligence (BI)” name=”MMERGE3″ id=”mce-MMERGE3-0″><label for=”mce-MMERGE3-0″>Business Intelligence (BI)</label>
    • <input type=”radio” value=”Marketing” name=”MMERGE3″ id=”mce-MMERGE3-1″><label for=”mce-MMERGE3-1″>Marketing</label>
    • <input type=”radio” value=”BI & Marketing” name=”MMERGE3″ id=”mce-MMERGE3-2″><label for=”mce-MMERGE3-2″>BI & Marketing</label>

    </div>
    <div id=”mce-responses” class=”clear”>
    <div class=”response” id=”mce-error-response” style=”display:none”></div>
    <div class=”response” id=”mce-success-response” style=”display:none”></div>
    </div> <!– real people should not fill this in and expect good things – do not remove this or risk form bot signups–>
    <div style=”position: absolute; left: -5000px;”><input type=”text” name=”b_4345d84afd7ca74010ad51f5b_d861c8d67b” tabindex=”-1″ value=””></div>
    <div class=”clear”><input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”button”></div>
    </form>
    </div>
    <script type=”text/javascript”>
    var fnames = new Array();var ftypes = new Array();fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[1]=’FNAME’;ftypes[1]=’text’;fnames[2]=’MMERGE2′;ftypes[2]=’text’;fnames[3]=’MMERGE3′;ftypes[3]=’radio’;
    try {
    var jqueryLoaded=jQuery;
    jqueryLoaded=true;
    } catch(err) {
    var jqueryLoaded=false;
    }
    var head= document.getElementsByTagName(‘head’)[0];
    if (!jqueryLoaded) {
    var script = document.createElement(‘script’);
    script.type = ‘text/javascript’;
    script.src = ‘//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js’;
    head.appendChild(script);
    if (script.readyState && script.onload!==null){
    script.onreadystatechange= function () {
    if (this.readyState == ‘complete’) mce_preload_check();
    }
    }
    }

    var err_style = ”;
    try{
    err_style = mc_custom_error_style;
    } catch(e){
    err_style = ‘#mc_embed_signup input.mce_inline_error{border-color:#6B0505;} #mc_embed_signup div.mce_inline_error{margin: 0 0 1em 0; padding: 5px 10px; background-color:#6B0505; font-weight: bold; z-index: 1; color:#fff;}’;
    }
    var head= document.getElementsByTagName(‘head’)[0];
    var style= document.createElement(‘style’);
    style.type= ‘text/css’;
    if (style.styleSheet) {
    style.styleSheet.cssText = err_style;
    } else {
    style.appendChild(document.createTextNode(err_style));
    }
    head.appendChild(style);
    setTimeout(‘mce_preload_check();’, 250);

    var mce_preload_checks = 0;
    function mce_preload_check(){
    if (mce_preload_checks>40) return;
    mce_preload_checks++;
    try {
    var jqueryLoaded=jQuery;
    } catch(err) {
    setTimeout(‘mce_preload_check();’, 250);
    return;
    }
    var script = document.createElement(‘script’);
    script.type = ‘text/javascript’;
    script.src = ‘http://downloads.mailchimp.com/js/jquery.form-n-validate.js&#8217;;
    head.appendChild(script);
    try {
    var validatorLoaded=jQuery(“#fake-form”).validate({});
    } catch(err) {
    setTimeout(‘mce_preload_check();’, 250);
    return;
    }
    mce_init_form();
    }
    function mce_init_form(){
    jQuery(document).ready( function($) {
    var options = { errorClass: ‘mce_inline_error’, errorElement: ‘div’, onkeyup: function(){}, onfocusout:function(){}, onblur:function(){} };
    var mce_validator = $(“#mc-embedded-subscribe-form”).validate(options);
    $(“#mc-embedded-subscribe-form”).unbind(‘submit’);//remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator
    options = { url: ‘http://nebi.us8.list-manage.com/subscribe/post-json?u=4345d84afd7ca74010ad51f5b&id=d861c8d67b&c=?&#8217;, type: ‘GET’, dataType: ‘json’, contentType: “application/json; charset=utf-8″,
    beforeSubmit: function(){
    $(‘#mce_tmp_error_msg’).remove();
    $(‘.datefield’,’#mc_embed_signup’).each(
    function(){
    var txt = ‘filled’;
    var fields = new Array();
    var i = 0;
    $(‘:text’, this).each(
    function(){
    fields[i] = this;
    i++;
    });
    $(‘:hidden’, this).each(
    function(){
    var bday = false;
    if (fields.length == 2){
    bday = true;
    fields[2] = {‘value’:1970};//trick birthdays into having years
    }
    if ( fields[0].value==’MM’ && fields[1].value==’DD’ && (fields[2].value==’YYYY’ || (bday && fields[2].value==1970) ) ){
    this.value = ”;
    } else if ( fields[0].value==” && fields[1].value==” && (fields[2].value==” || (bday && fields[2].value==1970) ) ){
    this.value = ”;
    } else {
    if (/\[day\]/.test(fields[0].name)){
    this.value = fields[1].value+’/’+fields[0].value+’/’+fields[2].value;
    } else {
    this.value = fields[0].value+’/’+fields[1].value+’/’+fields[2].value;
    }
    }
    });
    });
    $(‘.phonefield-us’,’#mc_embed_signup’).each(
    function(){
    var fields = new Array();
    var i = 0;
    $(‘:text’, this).each(
    function(){
    fields[i] = this;
    i++;
    });
    $(‘:hidden’, this).each(
    function(){
    if ( fields[0].value.length != 3 || fields[1].value.length!=3 || fields[2].value.length!=4 ){
    this.value = ”;
    } else {
    this.value = ‘filled’;
    }
    });
    });
    return mce_validator.form();
    },
    success: mce_success_cb
    };
    $(‘#mc-embedded-subscribe-form’).ajaxForm(options);
    /*
    * Translated default messages for the jQuery validation plugin.
    * Locale: ES
    */
    jQuery.extend(jQuery.validator.messages, {
    required: “Este campo es obligatorio.”,
    remote: “Por favor, rellena este campo.”,
    email: “Por favor, escribe una dirección de correo válida”,
    url: “Por favor, escribe una URL válida.”,
    date: “Por favor, escribe una fecha válida.”,
    dateISO: “Por favor, escribe una fecha (ISO) válida.”,
    number: “Por favor, escribe un número entero válido.”,
    digits: “Por favor, escribe sólo dígitos.”,
    creditcard: “Por favor, escribe un número de tarjeta válido.”,
    equalTo: “Por favor, escribe el mismo valor de nuevo.”,
    accept: “Por favor, escribe un valor con una extensión aceptada.”,
    maxlength: jQuery.validator.format(“Por favor, no escribas más de {0} caracteres.”),
    minlength: jQuery.validator.format(“Por favor, no escribas menos de {0} caracteres.”),
    rangelength: jQuery.validator.format(“Por favor, escribe un valor entre {0} y {1} caracteres.”),
    range: jQuery.validator.format(“Por favor, escribe un valor entre {0} y {1}.”),
    max: jQuery.validator.format(“Por favor, escribe un valor menor o igual a {0}.”),
    min: jQuery.validator.format(“Por favor, escribe un valor mayor o igual a {0}.”)
    });

    });
    }
    function mce_success_cb(resp){
    $(‘#mce-success-response’).hide();
    $(‘#mce-error-response’).hide();
    if (resp.result==”success”){
    $(‘#mce-‘+resp.result+’-response’).show();
    $(‘#mce-‘+resp.result+’-response’).html(resp.msg);
    $(‘#mc-embedded-subscribe-form’).each(function(){
    this.reset();
    });
    } else {
    var index = -1;
    var msg;
    try {
    var parts = resp.msg.split(‘ – ‘,2);
    if (parts[1]==undefined){
    msg = resp.msg;
    } else {
    i = parseInt(parts[0]);
    if (i.toString() == parts[0]){
    index = parts[0];
    msg = parts[1];
    } else {
    index = -1;
    msg = resp.msg;
    }
    }
    } catch(e){
    index = -1;
    msg = resp.msg;
    }
    try{
    if (index== -1){
    $(‘#mce-‘+resp.result+’-response’).show();
    $(‘#mce-‘+resp.result+’-response’).html(msg);
    } else {
    err_id = ‘mce_tmp_error_msg’;
    html = ‘<div id=”‘+err_id+'” style=”‘+err_style+'”> ‘+msg+'</div>’;

    var input_id = ‘#mc_embed_signup’;
    var f = $(input_id);
    if (ftypes[index]==’address’){
    input_id = ‘#mce-‘+fnames[index]+’-addr1′;
    f = $(input_id).parent().parent().get(0);
    } else if (ftypes[index]==’date’){
    input_id = ‘#mce-‘+fnames[index]+’-month’;
    f = $(input_id).parent().parent().get(0);
    } else {
    input_id = ‘#mce-‘+fnames[index];
    f = $().parent(input_id).get(0);
    }
    if (f){
    $(f).append(html);
    $(input_id).focus();
    } else {
    $(‘#mce-‘+resp.result+’-response’).show();
    $(‘#mce-‘+resp.result+’-response’).html(msg);
    }
    }
    } catch(e){
    $(‘#mce-‘+resp.result+’-response’).show();
    $(‘#mce-‘+resp.result+’-response’).html(msg);
    }
    }
    }

    </script>
    <!–End mc_embed_signup–>

    #25340

    #264612
    This reply has been marked as private.

    http://kriesi.at/documentation/enfold/custom-css-and-quick-css/

    quick / custom CSS:

    .avia_ajax_form fieldset p .button{
        background-color: #00000;
        border-bottom-color: #000000;
        border-left-color: #000000;
        border-right-color: #000000;
        border-top-color: #000000;
        color: #000000;
    }

    color is the font color

    http://www.w3schools.com/tags/ref_colorpicker.asp

    #263891

    In reply to: Hubspot forms and CSS

    Hi chays77!

    Thank you for using theme!

    Please try to add this on Quick CSS or custom.css:

    #top input[type="text"] {
    width: 90% !important;
    }
    
    .hs-form.stacked .field {
    margin-bottom: 0 !important;
    }
    
    #top fieldset {
    margin-bottom: 0;
    }

    If you want to remove the theme’s contact form style, edit css > shortcodes.css. Look for this section:

    /* ======================================================================================================================================================
    Contact Form
    ====================================================================================================================================================== */
    

    Regards,
    Ismael

    Hey!

    1b) You can use custom field values (click on “Screen Options” on the top right corner to show the “Custom fields” option field on the product editor page) to set different values for different products. Instead of

    
    echo "6 months";
    

    use this code:

    
    $value = get_post_meta(get_the_ID(), 'custom_delivery_time', true);
    if(!empty($value))  echo $value;
    

    and on the product editor page insert “custom_delivery_time” into the first field (key name) and 6 months into the second field: http://www.clipular.com/c/4982606751858688.png?k=aqKhvkFkIcmJ9X0Yit-nXAz8OT8

    3) Yes, if you want to remove the link try to replace:

    
    return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s"  rel="prettyPhoto' . $gallery . '">%s</a>', $image_link, $image_title, $image);
    

    with

    
    return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom avianolink" title="%s">%s</a>', $image_link, $image_title, $image);
    

    Best regards,
    Peter

    #263750

    Hey!

    Thank you for the update!


    @goncalo
    : Glad it worked. Please try to add this on the child theme’s functions.php:

    add_post_type_support( 'portfolio', 'custom-fields');
    

    @js: Thank you for following the thread. What are the issues that you’re having?

    Regards,
    Ismael

    #263160
    Jason
    Participant

    Hi there,
    Is this possible using this theme & perhaps custom fields (which I’ve seen mentioned on Google)?
    I have a page, say Electronics, which needs to appear in both the Technology section & the Manufacturing section.
    I can’t simply add a custom navigation link as the navigation in question is the sidebar navigation that is automatically generated.
    Any ideas, or all a bit tricky?
    Thanks in advance,
    Jason

    #262719

    Hey!

    Thank you for the update.

    You can enable the custom field support for portfolio items if you edit includes > 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')
    

    Regards,
    Ismael

    #262479

    Hi,

    Unfortunately this doesn’t work with Portfolio Entries. The Portfolio Entries page hasn’t got a the screen option to turn on Custom Fields. Is there a way to get the breadcrumbs displayed on the Portfolio entries?

    Thanks,
    Gonzo

    #256931

    Hey!

    1) To change the table color try this code:

    
    #top .avia-table, #top .avia-table td, #top .avia-table th, #top .avia-table tr{ background: #ffffff !important; }
    

    2) Try this code

    
     #top .avia-table td, #top .avia-table tr, #top .avia-table th, #top .avia-table tr th:first-child, #top .avia-table tr td:first-child {
    border-color: #000;
    }
    

    3) Use this code:

    
    #top .avia-table td, #top .avia-table tr, #top .avia-table th, #top .avia-table tr th:first-child, #top .avia-table tr td:first-child {
    border-left: none !important;
    border-right: none !important;
    }
    

    4) You can’t change it based on the number of rows. If you want to change the text alignment for all td fields use:

    
    #top .avia-table td{
    text-align: center;
    }
    

    Regards,
    Peter

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