Jump to content

Search the Community

Showing results for tags 'wordpress'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome
    • Announcements & News
    • New Arrivals
  • Web Development
    • Programming
    • Database Development
    • Server Administration
    • Hosting & Domains
    • Frameworks
  • Web Design
    • HTML & CSS
    • Graphics & Multimedia
  • Desktop Discussion
    • Linux Development
    • Windows Development
    • Mac/Apple Development
    • Hardware Discussion
  • Marketing & Business
    • Advertising, Marketing, Monetization & Social Media
    • Search Engine Optimization & Traffic Building
    • Buy, Sell or Trade
  • Prodjex Applications and Tools
    • IP.Board Applications and Plugins
    • Web Tools
  • The Developer Dump
    • General Chat


  • Community Calendar

Found 8 results

  1. One of my favorite Wordpress themes lately is the Salient Wordpress Theme by ThemeNectar. It does most things with ease and there are settings that save you quite a bit of time once you become familiar with the layout. This week I ran into an issue that I couldn't find any information on Google. In the Salient admin area there is General Settings -> Styling. Here you can find the overall theme skin. I really like the "Material" setting as it gives nice effects around the site. This setting adds some javascript to the site though and seems to override some basic functionality. I have a contact form on a contact us page. Everything looks and works correctly with the form, but once I submit the form successfully and it resets the placeholders are missing. I tried several different things such as setting the placeholders again with jQuery, but when I looked in the element inspector the placeholders were there, but not displaying. The only way I could get them to show up again was by clicking into the input field then tabbing to the next one or clicking outside. My solution was to use the jQuery blur(); function. I tried this by using on click of the submit, but ran into issues where it would reset those inputs even if it failed validation and didn't successfully submit. So I modified it and on a successful submit it will then blur all of the fields after 1 second and the placeholders return as expected. The easiest way to add the jQuery to your page is through the page builder, just add a Raw JS Element. Here's the code to place within there: <script type="text/javascript"> document.addEventListener( 'wpcf7mailsent', function( event ) { setTimeout( function(){ jQuery('#cfname').blur(); jQuery('#cfemail').blur(); jQuery('#cfcompany').blur(); jQuery('#cfphone').blur(); jQuery('#cfmassage').blur(); },1000); }, false ); </script> The wpcf7mailsent you will not modify, that's the Contact Form 7 success event to listen for. You will change the field names before each blur function, you can add as many as you need.
  2. Hi all, This may sound like a simple question and I agree with many themes I have used it has been but for some reason with my current theme I am finding it very difficult to change. My site is www.bengrovemarketgarden.co.uk and try as I might the home page will only display the featured image of posts and the title. It would rather it displayed the most recent post at the top and the rest below but the full posts or at the very least, a large snippet. The theme is sixteen, does anyone have any advice?
  3. Hi All!

    Hi All, This seems to be the place to say hello so there it is. My name is Liam, I am 33, and currently live and work in a small market garden in Somerset, UK. My early career started after achieving a degree in Computing. I then spent about 8 years in the IT industry, first in admin. then spreadsheet design, then IT Project management. Currently I have now left the IT industry but still like to stay involved in my spare time. I am currently designing a new website, but only in Wordpress, so nothing too heavy. I look forward to meeting some of you on the forum. Liam
  4. textarea value

    I'm trying to modify some wordpress files and I don't know what the "value" is called within a text area. $this->checkout_fields['order'] = array( 'order_comments' => array( 'type' => 'textarea', 'class' => array('notes'), 'label' => __( 'Order Notes', 'woocommerce' ), 'placeholder' => _x('Notes about your order, e.g. special notes for delivery.', 'placeholder', 'woocommerce') ) ); $this->checkout_fields = apply_filters( 'woocommerce_checkout_fields', $this->checkout_fields ); do_action( 'woocommerce_checkout_init', $this ); I need to put a value of a variable in that textarea. I tried the following code but it does nothing. $this->checkout_fields['order'] = array( 'order_comments' => array( 'type' => 'textarea', 'class' => array('notes'), 'label' => __( 'Order Notes', 'woocommerce' ), 'placeholder' => _x('Notes about your order, e.g. special notes for delivery.', 'placeholder', 'woocommerce') 'value' => $giftmsg ) ); $this->checkout_fields = apply_filters( 'woocommerce_checkout_fields', $this->checkout_fields ); do_action( 'woocommerce_checkout_init', $this );
  5. A while back I was asking for a simple Wordpress photo gallery. No one ended up providing a decent solution, so I decided to create something on my own. I like the native Wordpress photo gallery, but it doesn't have anything to get you to the next picture after you click to enlarge a thumbnail, that's not very user friendly. I want people to actually view my photo gallery, if it's not convenient then people are not going to use it. I was using NexGen Gallery, but it's bloated and the pictures don't load as quickly as I would like. So here is a simple solution. I read that with the native Wordpress gallery it searches to see if you have a image.php file present, if not it uses the Single.php file. I took a look at my theme and there is no Image.php file there. So I took my Single.php file and saved it as Image.php. A couple minor changes to make to this Image.php file: Find and remove: <?php the_content(); ?> Replace with: <div style="float:right;"><?php next_image_link(false, 'Next Pic') ?></div><?php previous_image_link(false, 'Previous Pic') ?><br /> <div style="text-align: center;"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'large' ); ?></a></div> <?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?><br /> That's it, save it off and upload into your theme directory. It makes it so simple, no if someone clicks a thumbnail in your gallery they can view that picture and also have links to view the next one or go back to previous without backing up to the gallery.
  6. I'm trying to find a good and simple photo gallery for Wordpress. I have used NextGen gallery before, but it seems to be pretty bloated and slow when browsing through pictures. I'm looking for a solution that will count pageviews each time you go to a new picture, so nothing like lightbox or any flash players please.
  7. Hey Guys, What plugins do you use on your WP sites? Here is a list of my favorite plugins: All-in-One SEO Simple Google Analytics Google XML Sitemaps Login Lockdown Contact Form Easy Privacy Policy Akmiset Bryce
  8. One of my wordpress blogs got hacked in the past because it was using an old version of Wordpress. I was curious to know how common this is. Have you ever faced any issues, including but not limited to getting hacked, because you didn't update?