Original Request: Hello, I’m experimenting with the Whitespace theme. http://my.studiopress.com/themes/whitespace/#demo-full I really like the way that the post excerpts display on the home page, but I would like to display page excerpts, not posts. Does anyone have any tips or advice on how to achieve this? Many thanks, Tim Option 1: add the following code… Continue Reading
Genesis
Adding Responsive Slider on Home Page – Whitespace PRO Theme
Original Request: Is it possible to add a slider to the Whitspace theme homepage? Maybe where the stretch image is? I tried just placing the Genesis responsive slider widget in the Welcome widget area but that didn’t work. – RoxG I did following steps: Step 1: First install the Genesis Responsive Slider Plugin on your… Continue Reading
Regenerating State Drop Down List of Selected Country in Agentpress Listing Search Form
By WP_AJAX_ hook generating the state drop down list of a selected country in Agentpress Listing Search Form of Agentpress PRO theme. Step 1: Navigate Listings > Register Taxonomies and create the Country taxonomy. Now you will get new menu link “Countries” under Listings menu at left hand side. Again navigate Listing > Countries and… Continue Reading
Displaying 3 Columns Teaser Boxes Below the Banner on Home Page of Whitespace PRO Theme
By default Home page have one widget area for Welcome Text. This article will show how to create a new widget area on home page and display the 3 columns teasers in that area. Step 1: Registering a new widget area “Home Top”. Add the following code in your functions.php file:
1 2 3 4 5 6 |
//* Register home top widget area genesis_register_sidebar( array( 'id' => 'home-top', 'name' => __( 'Home Top', 'whitespace' ), 'description' => __( 'This is the home top section will come below the banner image.', 'whitespace' ), ) ); |
Step 2: Navigate… Continue Reading
Add Smooth Scrolling Effect For All Home Widget Areas On Parallax PRO Theme
Original request from @Josephine Reijman: Hi, I would like to scroll from one home widget area to the next one (pressing a fontawesome icon) like this tutorial explained: http://keypresswp.com/all-home-widgets-scrolling-centric-pro/ However I am using the Parallax Pro theme now. Is there anyone who can help me with this? Thanks, Josephine I accomplished this following way: STEP… Continue Reading
Adding Extra Features in Agentpress Featured Listings Widget
Agentpress is a popular Genesis Child theme for Real Estate sites. The theme uses a free plugin “Agentpress Listings” to list the properties and comes with 2 widgets. By default “Agentpress – Featured Listings” widget shows the price, custom text, address, city, state and zip code. Adding the following snippet to the theme’s functions.php allows… Continue Reading
Unregister the ‘Comments and Trackbacks’ section in the admin
Removing the ‘Comments and Trackbacks’ from Genesis Theme Settings & Customizer page.
1 2 3 4 5 6 7 |
// Removing it from Genesis Theme Settings page if (is_admin()) : function remove_genesis_comments_trackbacks_settings($pagehook) { remove_meta_box( 'genesis-theme-settings-comments', $pagehook, 'main' ); } add_action( 'genesis_theme_settings_metaboxes' , 'remove_genesis_comments_trackbacks_settings'); endif; |
1 2 3 4 5 |
// Removing it from Customizer page add_action( 'customize_register', 'gd_remove_customize_section', 20 ); function gd_remove_customize_section($wp_customize){ $wp_customize->remove_section( 'genesis_comments'); } |
All code will go in functions.php file.
Integrate Salesforce Lead with Contact Form 7 Plugin
Full thanks are going to Alex Hager. His tips is helped me lot and I successfully integrate salesforce lead with CF7 plugin. First I generate a Web To Lead form in salesforce account. Here is my form’s code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
<!-- ---------------------------------------------------------------------- --> <!-- NOTE: Please add the following <META> element to your page <HEAD>. --> <!-- If necessary, please modify the charset parameter to specify the --> <!-- character set of your HTML page. --> <!-- ---------------------------------------------------------------------- --> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"> <!-- ---------------------------------------------------------------------- --> <!-- NOTE: Please add the following <FORM> element to your page. --> <!-- ---------------------------------------------------------------------- --> <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> <input type=hidden name="oid" value="00XX000000XXXXX"> <input type=hidden name="retURL" value="http://yourdomain.com/thank-you/"> <!-- ---------------------------------------------------------------------- --> <!-- NOTE: These fields are optional debugging elements. Please uncomment --> <!-- these lines if you wish to test in debug mode. --> <!-- <input type="hidden" name="debug" value=1> --> <!-- <input type="hidden" name="debugEmail" value="chinmoy29@gmail.com"> --> <!-- ---------------------------------------------------------------------- --> <label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br> <label for="last_name">Last Name</label><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br> <label for="email">Email</label><input id="email" maxlength="80" name="email" size="20" type="text" /><br> <label for="company">Company</label><input id="company" maxlength="40" name="company" size="20" type="text" /><br> <label for="city">City</label><input id="city" maxlength="40" name="city" size="20" type="text" /><br> <label for="country">Country (text only)</label><input id="country" maxlength="40" name="country" size="20" type="text" /><br> <label for="state">State/Province (text only)</label><input id="state" maxlength="20" name="state" size="20" type="text" /><br> <label for="phone">Phone</label><input id="phone" maxlength="40" name="phone" size="20" type="text" /><br> <label for="title">Title</label><input id="title" maxlength="40" name="title" size="20" type="text" /><br> <label for="description">Description</label><textarea name="description"></textarea><br> <input type="submit" name="submit"> </form> |
Second I created my “Request More Info” form using Contact Form 7 plugin. Form is looking… Continue Reading
Move Two Jetpack Subscription Checkboxes to Above "Post" Button
Jetpack is a popular wordpress plugin and lot of wordpress users are using this plugin. This plugin have a module “Jetpack Subscription” and this module is adding two checkboxes into comment form. Jetpack is not providing any extra settings for repositioning this two checkboxes. Using CSS we can move the “Post Comment” button below the… Continue Reading
Custom Header Images on Pages – Parallax Pro Theme
Here was the original request on SP forums: I used Sridhar Katakam’s tutorial on relocating entry title headers but I want to make these headers images rather than text. The person who initial responded to my questions said this: I amended the CSS to display scaling background images to create full width, applying the page-id-xx… Continue Reading