WHAT IS AUTO LOAD NEXT POST? It simply automatically loads the next post on your blog once the user has reached the bottom of the initial post the viewer is reading and repeats the process as the user reads your content until there are no more posts to load. Source: https://wordpress.org/plugins/auto-load-next-post/ In this tutorial I am… Continue Reading
genesis
Moving the front page 1 widget area above the site header on Home Page of Altitude Pro Theme
Step 1: Removing the code of front page 1 widget areas from altitude_front_page_widgets() function. This function is locating in front-page.php file.
1 2 3 4 5 6 7 |
genesis_widget_area( 'front-page-1', array( 'before' => '<div id="front-page-1" class="front-page-1"> <div class="image-section"> <div class="flexible-widgets widget-area' . altitude_widget_area_class( 'front-page-1' ) . '"> <div class="wrap">', 'after' => '</div></div></div></div>', ) ); |
Step 2: Creating an new function and putting the above code in this function. Here is the complete code of that function. You will add this function above the genesis() function of front-page.php… Continue Reading
Showing limited amount of categories on post meta
Original Message: I am trying to find a way to limit the amount of categories the Filed Under: Genesis shortcode outputs. Is there a way to do this? For example if a post belongs to 10 other categories it current displays every category, is there a way to limit it to only list x amount… Continue Reading
How to change the "View Listing" text – AgentPress Listings Plugin
Lot of users are asking this question: How to modify the “View Listing” text?. Very simple way you can change the text. Just drop the following code in your functions.php file and see the magic.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
add_filter( 'gettext', 'agentpress_change_view_listings_text', 20, 3 ); /** * Change view listings text. * * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext * @see switch http://php.net/manual/en/control-structures.switch.php */ function agentpress_change_view_listings_text( $translated_text, $text, $domain ) { if ( ( 'agentpress-listings' == $domain ) || ( 'agentpress' == $domain ) ) { switch ( $translated_text ) { case 'View Listing' : $translated_text = __( 'Modified Text', 'agentpress-listings' ); break; } } return $translated_text; } |
“View Listing” text is replacing with “Modified Text”. Explain: Code is using the WordPress’s gettext() filter. This filter hook… Continue Reading
Creating Duplicate Footer Widget Areas
This tutorial is using the Genesis Widget Areas Generator Plugin. Using this plugin I am creating three sub footer widget areas: After saving the widget areas details, you will get these 3 sidebars at Appearance -> Widgets page. Add the site related widget there. Now refresh your website. Three new widget areas will come above… Continue Reading
Display pages instead of posts on Whitespace PRO Home page
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
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
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
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
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