-
Search Results
-
Hi,
I need to include 1 more language on my site..
There are 3 packages on their site. I would like to use Multilingual Blog ..Can I use this package in our Enfold theme. This is the first time I am going to use it..What is your advice about it.. Would you please help me?
ThanksYucozt
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'); ?>Dont know if this is asking too much, -…I just really think it would be cool to have theese features
-and just hope it to be simple soloutions !1…..http://jsa-gitterflex.apartebuild.dk/wp-content/uploads/2014/01/breadcrum-remove-blogpage.jpg
I’d like to get rid of the breadcrumbs that appear on post pages AND singlepost pages aswell (but not on the homepage in general):I’v tried some older threads but cant find a piece of code that will work on my page :-(
2….Alternatively i would be happy just to be able to control the pages wich the breadcrumblinks link to !!!
3. Would it be possible to have a backarrow-button” from singlepost to blogpage it feels like landing in the dessert the way it just end now :-)
4…..http://jsa-gitterflex.apartebuild.dk/wp-content/uploads/2014/01/scrollbar-on-blogpage.jpg
-This would be a nice touch ! -Is there a simple piece of code to do this ?
5…..http://jsa-gitterflex.apartebuild.dk/wp-content/uploads/2014/01/partner-logo-as-menu.jpg
-My client wants the images (in all there are 8) in the partner Element/logo to change on hoover and act more like a menu that shows the current page the visitor is seeing by holding on to the hoover-image. -Just like the red line jumps and stays underlining the text in the header navigation line. All 8 images have unique links to pages i dont want to see in my header/ -or footer menu !
6….. You supported me in this thread https://kriesi.at/support/topic/header-navigation-menu-and-spacing-on-blogpagepost/#post-212517
-The code provided by ismael worked perfektly but im wondering if it would be even nicer to make the whole area above the navigation textline less active just the way ismaels code did to the area covering the telephonenr. Its never goodlooking when you have mouse shoving “hotspot” in blank areas :-)
Is there an easy fix for this too ?
pagelink:http://jsa-sikring.apartebuild.dk/
All the best to you good people
Claus.Topic: New Enfold Features
I purchased the Enfold theme months ago and now I’ve notice that a new version is now available. I’m mostly interested in the Masonry Blog feature.
Will I have to purchase the theme again to get these new feature? If I do purchase the new theme can I simply copy and paste the Theme files into the WP themes folder or will I have to re-install the theme.
Thanks for the help.
Topic: Image name over hover
Hi Enfold,
My client (http://hubholdings.com/) wants to eliminate image name popping up when hovered over. Is this possible?
Thanks so much!
Viewing 30 results - 230,761 through 230,790 (of 244,616 total)
