-
Search Results
-
Hi,
I am building Custom Forms for a website on Enfold and I want it to look like the built in forms on Enfold. I am using Contact Form 7. Where might I find a list of the shortcodes so I can place “First Name” in a Half Column and “Last Name: in the other Half Column, whilst still being able to have a mixture of Full Column fields and Half column fields so it looks like the standard contact form in Enfold, please.
Your help is much appreciated in this manner.
Sam
Topic: @font-face for main menu
Hi,
I added an extra text field to portfolio items using the Types plugin. Now I want to add a new DIV with the content of this field in the portfolio overview page and in the portfolio detail view for each item.http://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/
But where do I place the PHP to access the content of the field?
Topic: adding custom fields
Hi All,
I am changing the theme from twenty ten to Enfold. I had some 4 Custom Fields for each post which I displayed under the post title in twenty ten. How can I add them to Enfold so that they are displayed under the post title in Enfold?
regards,
Hello,
I try to use the Enfold theme for a real estate website. I would like to sort the entries (portfolio) in order of price from highest to lowest. For this I try to use the excerpt because custom fields are not available with portfolio post type. (Unless I’m mistaken?)
My questions are:
– How do I proceed? (add php code to functions.php?, create template page?)
– How to prevent updates replace my configurations? (Child theme?)
– Should I use another method instead?
– Should I rather use an extension of a real estate broker?
– If so, do you know some good real estate plugins which are compatible with the Enfold theme ?
– Do you have any other suggestions for my purposes?(If you are a member of Kriesi team, is it possible to know whether you will eventually add such features in future updates?)
A big thank you in advance.
Hello,
I have created some custom fields using ACF and have managed to get these to display as I want by adding this code to the relevant single post templates:
<?php the_field('field_name'); ?>However, I also want to be able to display the contents of a custom field in the Post Slider, so that it is visible when added as a shortcode in the advanced layout editor.
I understand that I need to modify the template file enfold/config-templatebuilder/avia-shortcodes/contentslider.php
The contents of the field should appear above the excerpt, so I’m assuming the relevant code needs to go around line 375, before:if($show_meta && !empty($excerpt))But at this point I get stuck! Can anyone advise me please? Any help much appreciated.
ThanksHello,
I am using several custom fields for some of my posts and I want to display them after content. I am also using mappress and YARPP to display more content into the entries. Also I would like to include some HR into the content.
Here is the code used to display custom fields:
`// echo the post content
echo ‘<div class=”entry-content” ‘.avia_markup_helper(array(‘context’ => ‘entry_content’,’echo’=>false)).’>’;
echo $content;
echo ‘</div>’;/* Let’s show our custom fields here */
$destino_web = get_post_meta( get_the_ID(), ‘web’, true);
$destino_telefono = get_post_meta( get_the_ID(), ‘telefono’, true);
$destino_precio = get_post_meta( get_the_ID(), ‘precio’, true);
$destino_horario = get_post_meta( get_the_ID(), ‘horario’, true);if( ! empty( $destino_web ) ) { echo ‘<p><strong>Web:</strong><a href=”‘ . $web . ‘”><?php get_the_title(); ?></a></p>’; }
if( ! empty( $destino_telefono ) ) { echo ‘<p><strong>Telefono:</strong> ‘ . $destino_telefono . ‘</p>’; }
if( ! empty( $destino_precio ) ) { echo ‘<p><strong>Precio:</strong> ‘ . $destino_precio . ‘</p>’; }
if( ! empty( $destino_horario ) ) { echo ‘<p><strong>Horario:</strong> ‘ . $destino_horario . ‘</p>’; }/* End showing our custom fields here */`
In the private content I also share the website URL and a Picture to give a better explanation.
Topic: Custom Colors in Form Fields
Hi,
is there a way to change the input colors in form fields?
I asked this question some time ago and got this quick css code as an answer:
.page-id-51391 .avia_ajax_form input, .page-id-51391 .avia_ajax_form select{ color: #000000 !important; }Works nicely on all fields – except for the large text input field, where the color is still gray instead of black:
http://blog.datenschmutz.net/kontakt/I also wonder if it’s possible to change this setting for *all* forms (instead of using the page IDs).
Hello,
I am using Pods Framework to create and manage a CPT called Destinos. I am using 5 custom fields and has archive is set as true. I am using the WordPress Categories to organize my CPT:
London > Museums > My CPT, but in the Breadcrumbs the parent cattegory doesn’t appears, instead, the Custom Page that I am using to display my latest post is linked and the parent URL is the archive page of my CPT.
I’ve tried to modify the class-breadcrumbs.php following this topic: https://kriesi.at/support/topic/breadcrumbs-with-custom-post_types/ but it doesn’t work.
Dear Enfold Team,
is it possible that when customer goes to cart the checkbox of “delivery to other address” is unchecked. So that these delivery to other address fields by default do not appear. They only should appear, when customer clicks on the checkbox.
Another question would be. In the address mask, is it possible to remove the field “Appartment” as our fulfiller DHL does not use this field.
Thanks!
Rgds
AndreasHi,
I would like to upload content and setup layout / categories … setting using CSV file, using WP All Import Plugin. Basically, I’m trying to setup all the settings using spreadsheet (so that I don’t miss anything), and then use WPAI to import those settings. WPAI will then dynamically set everything up for me based on my preference in the CSV files. However, I found some fields that I can’t be updated using WPAI plugin.
A while ago I contacted WPAI support to help me setup the parent / child relationship of each page, that can’t automatically be setup using CSV; and they offer me a code (in functions.php) to get around that limitation. Basically what I had to do was to create a custom field, and then use the code below so that the plugin can automatically map the custom field with the “parent” field.
Could you please help me modify the following code, so that it can work with some other fields in the portfolio page? Thank you :)
So, here’s the code:
add_action('pmxi_saved_post', 'set_parent_page', 10, 1); function set_parent_page($pid){ $page = get_post($pid); if ( ! empty($page) ){ $parent_page = get_post_meta($pid, '_tmp_parent_value', true); if ( ! is_numeric($parent_page) ){ $parent = get_page_by_title($parent_page); if (! empty($parent)){ $parent_page = $parent->ID; } } if ( is_numeric($parent_page) ){ wp_update_post(array( 'ID' => $page->ID, 'post_parent' => $parent_page )); } delete_post_meta($pid, '_tmp_parent_value'); } }In the example above, I have to create a custom field called “_tmp_parent_value”.
What I want to automatically setup in the portfolio item, are the following:
1. Tags
2. Portfolio Categories
3. Layout (Select the desired Page layout)
4. Sidebar Setting (Choose a custom sidebar for this entry)
5. Title Bar Settings (Display the Title Bar with Page Title and Breadcrumb Navigation?)
6. Footer Settings (Display the footer widgets?)
7. Breadcrumb parent page (Select a parent page for this entry. If no page is selected the them will use session data to build the breadcrumb.)Thanks again :)
I’ve had a plugin created that allows me to add custom type posts to the site, they are not posts or pages but I would like to know how I can get the side social buttons to appear on these as they to in normal posts. Is this possible?
Thanks


