-
Search Results
-
hi again kriesi,
– created a custom post type for recipes (with types plugin)
– copied and changed single.php and loop.php to my child theme
– later i want to integrate some custom fields to build a new layoutwhat i try to do now is to change the html to output schema.org relevant tags, what seems to happen (for example) here:
echo "<article class='".implode(" ", get_post_class('post-entry post-entry-type-'.$post_format . " " . $post_class . " ".$with_slider))."' ".avia_markup_helper(array('context' => 'entry','echo'=>false)).">";within the loop.php
may you help me to get this working?
greez
reneI’m using my blog as an events calendar, so I’ve used ACF to add a date picker right below the post title. I’ve updated the loop-index to display posts by that date, rather than publish date.
I’m wondering if it’s possible to do the same thing with the Blog Posts widget in the layout builder. That block seems to take the formatting edits from loop-index, but it’s still sorting by the publish date.
Thanks
How do I add a custom field to an Enfold portfolio item? I searched in the WP screen options but can’t find how to enable it. Custom fields are enabled in ordinary WP posts.
If such an option doesn’t exist are you considering adding custom fields into an Enfold portfolio item?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'); ?>Hi, I would like a little help in making some final changes for the website http://hbjcapital.wpengine.com/ (hosted on WPengine)
1. I would like to have each post in the grid layout to have a light grey background so that it appears distinct, just like you see in the featured post below the layer slider.
2. When the user clicks on “customer login” in the top right in the thin blue bar, a pop-up should display just like the search function pop-up, which will have fields for username and password. The field should then pass the data to the same fields on soft.hbjcapital.net and upon validation, open the userportal at soft.hbjcapital.net in a new tab. I do not like how its opening in the frame now.
3. Also, how do i hide a featured post from appearing in the grid layout below it, as you can see the featured post also appears as the 1st entry in the grid.
Please have these answered soon. Thanks :)
Hi, on this page: http://www.familybudgeting.org.nz/members/order-form I have a resource order form, with drop down boxes using the Gravity Forms “enhanced user interface”. (See question 3, “Your budgeting service”)
In these drop down fields (and only these) the width is being set to extremely narrow.
I’ve tried overruling it with custom CSS but can’t work it out; it seems to be generated by javascript? This makes me think the Gravity Forms javascript is conflicting with the Enfold javascript – or something.
Clearly I’m not sure if it’s an Enfold issue or something else, but any help would be appreciated.
Cheers,
Mike
Hi,
I am using the post slider to display posts with a certain taxonomy and in each post there are a number of custom fields. I would like to be able to display one of these customer fields in the post slider output. I understand I will have to edit the query but am wondering how to do this without editing the theme files direct. I have a child theme set up and am using that for css and other edits, so any direction you could provide would be appreciated.
The custom field is called ‘cost’ and display a price for an event that I would like to be able to display
Thanks
Hi
I have written before, asking for help but you just gave me a link to a tutorial and closed my topic thread.
Believe me, I have tried for weeks to get it working but cannot. So it seems you dont help for customisations.
If you are not willing to assist can you please put me in touch with a developer who is willing to show me how to link a portfolio masonry display to a page instead of a post, all the while keeping the images in a relatively fixed size grid of 2 rows of 4 images all sized 220 x 146.
You seemed to say in previous thread that it was possible to link to a page but I had to use a css.
I have no skills with css in this regard, and the settings in your video tutorial, do not explain how to configure the right settings for my needs, I dont know which drop down fields to select, let alone know what css has to be added.My request is really quite simple: I want to create a grid with 2 x rows of 4 small images that stay small and do nothing except link to pages, in the fashion that is displayed in the Portfolio Masonry demo,
Each image should not pop up or expand but when mouse hovers, allow for text to show – as per masonry demo, and then it should provide link to internal pages.
Please look at this url http://www.atuawahine.com/wp/ … it is displaying two methods- at the top I have added a masonry gallery and I added 8 images with links to the required 8 pages. however, two things are badly wrong; the images are getting tiled repeating across page and there is no hover text.
Looking at my above URL, the display below the messed up gallery is just a basic 4 columns with images, which I was able to link it to a page. However, it does not show text on mouse over, either, and when I view this site in a mobile, its hopeless because no one will ever know what the image is there for, nor what it links to. We didnt want to split the gallery up with fixed text blocks, we just want the portfolio masonry demo! Is that not possible?
Thanks
GillianTopic: Portfolio Grid – Taxonomie
Dear Team Kriesi,
When I’m implementing a portfolio grid to my site, I have the option to select my categories that I would like to show in the portfolio grid (section: “Which categories should be used for the portfolio?”). At the moment, I just have to possibility to select categories. Is it also possible to change from categories to my own setup taxonomy I’ve created.
I’m creating my taxonomy with the help of “WCK – Custom Fields and Custom Post Types Creator” plugin.Thanks and best regards,
SilberrotHello!
This is the page: http://www.adw.cl/contacto/
I am using contact form from Enfold Theme and have a few questions:
1. I am not receiving the autorespond mail. I think maybe has to do with the hosting, so I contacted them and hope to have news tomorrow. I understand only having a Autorespond text, this is the expected behaviour, if not, please tell me.
2. Is it possible to have some ‘advanced’ html in the autorespond text? For example images and custom fields (like the name of the person who contacted). Or some predefined page?
3. Confirmation message style is not attractive, it’s just a text in a blank page. Is it possible to have a predefined html or load a page for the confirmation message?If the answer to one of the questions above is negative, do you recomend some plugin that can do that in an easy way to configure?
Thanks a lot!!
Regards
JoséEverything was working just fine when it suddenly stopped attaching properly images or setting as featured.
Actually there are the following certain symptoms:
-When creating a new post:
1.via the add Media button process i select and upload a new image with the thumbnail showing properly and when i press insert into post/insert gallery a blank media box appears in the post’s textbox.
2.when i try to set a new featured image (one that is newly uploaded or one of the old images) the bottom right ‘set featured image’ widget looks like no image is selected or set. I click “set as featured image” and the modal closes but the image never appears.
-When I try to browse my Media>Library any newly uploaded image is blank with no thumbnail available and no image file appearing when clicking view (via the ‘domain/?attachment_id=…’ link).
-When browsing my ftp server directory or typing the url ‘domain/wp-content/uploads/2013/3/image.jpg’ the images are appearing just fine.
-Any images that I upload I can see in the media browser but their thumbnails there aren’t cropped like normal, it’s a thumbnail of the entire image where normally (and previously uploaded images) it’s cropped. They also don’t have pixel dimensions listed like other images do.This is causing a major problem on a busy e-commerce site. I’ve seen others with the same issue who said it was fixed when they disabled the “Advanced Custom Fields” plugin, but I don’t have that plugin.
I did not make any changes to anything, no new plugins, no updates. It worked fine in one product listing, then I went to the next one and it stopped and now won’t work for any.
I’m wondering if the advanced custom fields plugin or something similar is integrated into the theme and could be causing this strange issue.
Hello,
I hoping for some guidance on using the “portfolio grid” function as a “related projects” element. Works beautifully except it includes the item that the page is about. For example, on the page link below, The Natai is the project but is also referenced as related. Any thoughts on how to remove portfolio items from showing up without removing the category. I’ve set up custom fields on the register-portfolio.php page in hopes there is something that could be done though that. Thanks so much for any assistance you can provide.
http://paulraffstudio.wpengine.com/portfolio-item/the-natai/ (hosted on WPengine)
Hi,
I am using FormidablePRO for my forms which I really need to keep using it.
I was using Choices theme and you gave me the following code to fix some issues with the CSS:/* fix the formidable problem */ .flex_column .frm_form_fields br{display:none;} .ui-datepicker-month, .ui-datepicker-year{ min-width: 0 !important; padding: 0 !important; }I found the following code which solved me the breaklines:
#top .frm_forms label { display: inline; }But I still need more help to make this: http://d.pr/i/iwc5/5hTP676R to look like http://d.pr/i/10NO/3MwjJGUN
They are both the same form. The first on Enfold, the second on Choices with custom CSS.
I can send you the URL of the website in PM or by email.
Thank you.


