• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Toon61

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 59 total)
1 2 3 →
  • Author
    Posts
  • April 4, 2019 at 10:13 am in reply to: Create a dynamic menu with posts based on category #490498
    Toon61
    Member

    Hi Andy,

    I was just about to respond to my own post about this plugin I found yesterday. But you where faster 😉
    And as you already stated, it just works very well although the plugin hasn't been updated for a long time.
    Sometimes plugins are just so well written and clean, they just keep working.

    But thanks anyway for taking the time to reply!
    Really appreciate that.

    April 1, 2019 at 11:36 am in reply to: Create a dynamic menu with posts based on category #490424
    Toon61
    Member

    Hi Victor,

    Thanks for your reply (as always).

    I already told/warned my client that such a menu can go crazy!
    But she really wants it this way.
    Maybe, I'll have to rethink this whole menu-thingy to offer her a more convenient menu.
    The fact that it is not directly Genesis related is true, but this community is one of the very few wordpress/genesis related ones out there where you actually get a response.

    February 5, 2018 at 3:06 am in reply to: Genesis and Woocommerce #216091
    Toon61
    Member

    Oops,

    Figured this one out by myself.
    Just a simple add_action to close a div, and open another one:

    
    add_action('woocommerce_before_add_to_cart_form','whd_open_div');
    function whd_open_div() {
    	echo '</div><div class="whd_row">';
    }
    

    And making sure the structure stays valid, create a closing div after the form:

    
    add_action('woocommerce_after_add_to_cart_form','whd_close_div'); 
    function whd_close_div(){
    	echo '</div>';
    }
    
    February 4, 2018 at 11:49 am in reply to: Genesis and Woocommerce #216072
    Toon61
    Member

    Hi all,
    I don't think this is related to Genesis themes specific, but more of a woocommerce way of thinking/working.
    What I would like to accomplish is a way to manipulate the woocommerce hooks to get the following on a single product page:
    The product image (product-gallery) and the product details (woocommerce-product-details or short-description) in one single DIV.
    Under that div I would like to show the additional options for that product. These options are shown in woocommerce in a form. I want that form to be in a new div so I can set that div to full width.

    The default woocommerce way of showing this is like this (one div for image and one div for everything else)

    
    <div>
    <div>                      </div><div>                         
    ------------------------         ----------------------------------------        
    |                       |        | Price                                |
    |                       |        | Short description                    |
    |                       |        |                                      |
    |         IMAGE         |        | Additional Product Add-ons (form)    |
    |                       |        |                                      | 
    |                       |        |                                      | 
    |                       |        | Length                               | 
    ------------------------|        |                                      |
                                     |                                      | 
                                     | Height                               | 
                                     |                                      | 
                                     |                                      | 
                                     | Color                                | 
                                     |                                      |
                                     |                                      |                                                                                                                                                     
                                     |                                      | 
                                     |                                      | 
                                     |                                      | 
                                     |                                      | 
                                     | Add to Cart                          |
                                     ----------------------------------------
                                     </div>
    </div>                                 
    

    But I want it to look like this:

    
    <div>
    <div>
    --------------------------       ----------------------------------------        
    |                        |       | Price                                |
    |                        |       | Short description                    |
    |                        |       |                                      |
    |         IMAGE          |       |                                      |
    |                        |       |                                      | 
    |                        |       |                                      | 
    |                        |       |                                      | 
    --------------------------       ----------------------------------------
    </div>
    <div>                                                 
    -------------------------------------------------------------------------
    |                                                                       |  
    | Additional Product Add-Ons (form)                                     | 
    |                                                                       | 
    |                                                                       | 
    | Length                                                                | 
    |                                                                       | 
    | Height                                                                | 
    |                                                                       | 
    | Color                                                                 | 
    |                                                                       | 
    |                                                                       | 
    | Add to Cart                                                           |
    -------------------------------------------------------------------------
    </div>
    </div>

    I just cannot find anything on the internet on how to manipulate the standard woocommerce hooks or filters to get the additional add-ons in a superstate DIV.
    Does anyone have any idea or resource where to look at to get this done?

    October 6, 2017 at 7:26 am in reply to: Question about adding specific link type to pages #212225
    Toon61
    Member

    Staatzee,

    Here are some examples with jQuery:

    Dialog

    What you are looking for is called a Modal window.

    October 6, 2017 at 7:21 am in reply to: Help with cafe Pro, uppercase #212223
    Toon61
    Member

    Hi Abyghale,

    Have you also tried text-transform: initial;?
    Another possibility to try:
    Add an exclamation mark + important behind none, like so:
    text-transform: none !important;

    Hmm, did you clear your browser's cache? Because a browser keeps files in memory (cache), by clearing it's cache, it loads all necessary and modified files again form the server.

    March 6, 2017 at 2:11 am in reply to: How to change and add extra formatting to a page's title #202541
    Toon61
    Member

    Victor,
    I've just tried your approach and it does exactly what I need.
    Okay, I'll have to do some PHP string manipulation (not that hard) and other stuff, but the basics works.
    Thank you for pointing me in the right direction!

    March 6, 2017 at 1:45 am in reply to: How to change and add extra formatting to a page's title #202540
    Toon61
    Member

    Victor,
    Thanks for the reply. I'll definitively try your approach.

    January 22, 2017 at 10:13 am in reply to: Digital Pro – replace main page image with slider? #199795
    Toon61
    Member

    The main thing the front-page-1 widget does is use a simple jQuery script to get an image and stretch it over the entire browser window. This script is called backstretch, and it uses a companion script to show the actual image: backstretch-set.
    If you want more then 1 image to show in a slideshow manner, just alter the 'backstretch-set.js' that you can find in the 'js' folder of the child theme.

    I changed mine in something like this:

    
    jQuery(document).ready(function($) {
    	$(".front-page-1").backstretch([
    	"http://example.com/wp-content/themes/digital-pro/images/front-page-1_01.jpg",
    	"http://example.com/wp-content/themes/digital-pro/images/front-page-1_02.jpg",
    	"http://example.com/wp-content/themes/digital-pro/images/front-page-1_03.jpg"
    	], {duration: 3000, fade: 1750});
    });
    

    The original file was this:

    
    jQuery(document).ready(function($) {
     	$(".front-page-1").backstretch([BackStretchImg.src]);
    });
    

    As you can see, I added some additional parameters for duration and fade time.
    It is not a fancy solution with a nice dashboard GUI or using a third party slider plugin, and you have to edit this script whenever you like to change the images.
    But it works!

    I came to this solution by looking at the original jQuery plugin's site (http://srobbin.com/jquery-plugins/backstretch/).

    October 17, 2016 at 3:47 am in reply to: Widget Title below widget ? #194873
    Toon61
    Member

    Carasmo,

    You were right!
    Thanks for the tip.
    It's working now as expected.

    October 17, 2016 at 1:12 am in reply to: Widget Title below widget ? #194871
    Toon61
    Member

    Carasmo,

    I think that could be the issue.
    I will look into it.

    Thanks for your reply.

    October 10, 2016 at 11:24 am in reply to: Hard time positioning a secondary navigation in Designer Pro #194466
    Toon61
    Member

    Never mind...
    fixed it 😉

    September 9, 2016 at 1:45 am in reply to: How to create an alternative footer for specific pages #192861
    Toon61
    Member

    Hi Victor,

    Thanks for your reply.
    I'm already playing with additional footer widgets. The default footer shows 3 widgets, so I now have 6 widgets.
    And I alternate between the first set of 3 to 'display: none' and the other set to 'display: block', and vice versa.
    It works, but I don't really like that approach ('hacking' with CSS), although it doesn't involve a lot of coding.

    So I think I try it with shortcodes as you pointed out.
    That way I can keep the footer relatively clean (code-wise) and I think it is easier to maintain.

    January 17, 2016 at 11:28 am in reply to: How to add inline javascript in a template #176758
    Toon61
    Member

    Thanks Brad,

    I'll give it a try.

    October 16, 2015 at 3:18 am in reply to: Upgrade to 2.2.3 – How to get rid off extra span in Menu #168271
    Toon61
    Member

    Ok,
    Figured this one out with a little 'hack': renaming the itemprop to nothing like this:

    
    add_filter( 'genesis_attr_nav-link-wrap', 'whd_genesis_attributes_nav_link_wrap', 20 );
    
    function whd_genesis_attributes_nav_link_wrap( $attributes ) {
    	$attributes['class'] = '';
    	$attributes['itemprop'] = '';
    	return $attributes;
    }
    

    Added this to my child theme functions.php.
    Now the <span> is still there but without the itemprop and that fixed my menu.

    June 13, 2015 at 10:02 am in reply to: How to query a specific portfolio Image in an image tag #156097
    Toon61
    Member

    Ok,

    It's been a while since I started this topic, but I want you all to know I've figured it all out.
    Just as Brad said it is not that difficult, in fact it is basic WordPress Query stuff.
    The thing to watch out for is that the Genesis templates are a bit different constructed than regular WP templates.
    I found that out by 'copy-paste' a few WordPress examples, and got the awfull 'White Screen' (most of the time this is due to the fact that the PHP code is not valid). And when copying generic PHP examples in a Genesis template, well, you get a PHP error because Genesis does use the <?php opening at the beginning of a template, but closes the template with a function(?): genesis(); and not with a closing ?> like the standard WordPress templates do.
    So when you paste in a bit of WordPress PHP code, make sure you leave out the closing ?>, because Genesis handles this with it's special function.
    Another thing I came across was the fact that I use the Portfolio Post Type plugin to create the Portfolio pages.
    When registering a Custom Post Type the WordPress way, you can query this by using

    
    'post_type' => 'portfolio';
    'category' => 'styling';
    

    In this case the 'category' let's you query specific portfolio categories you have created.

    But the Portfolio Post Type (that also creates a Custom Post Type 'portfolio') uses this syntax:

    
    'post_type' => 'portfolio';
    'portfolio_category' => 'styling';
    

    As you can see, it doesn't use the generic WP 'category' but instead it's own 'portfolio_category'. Not a big problem, but it took me a few hours before I found this one out.

    After all, this is how a part of my queries look like:

    
    	// WP_Query arguments
    	$args = array ( 'post_type' => 'portfolio', 'portfolio_category' => $name , 'pagination' => false, 'order' => 'ASC', 'offset' => 0, 'posts_per_page' => 1 );
    	
    	// The Query
    	$query = new WP_Query( $args );
    	
    	// The Loop
    	if ( $query->have_posts() ) {
    		while ( $query->have_posts() ) {
    			$query->the_post();
    			the_post_thumbnail() ;
    		}
    	} else {
    		echo '<p>No image found</p>';
    	}
    	wp_reset_postdata();
    
    May 23, 2015 at 9:51 am in reply to: Is This A Fair Price? #153408
    Toon61
    Member

    Dear Movemaker,

    I think it's a fair price.
    What is $120,- compared to three months of work lost?
    Most developers or coders you hire wil run a backup (or ask you to do it) before they start working.
    So, that $120 was enough for you to have a backup whenever you should have decided (after hiring) to do it on your own.
    It is just like what Susan said, and Picasso for that matter when he was asked to do a street portrait and charged a few thousands dollars for it after a few minutes of drawing: 'Lady, it took me 20 years to get this far'.

    I've seen more and more contributors to this forum changing from free advise to paid support.
    And I think they stand in their right.

    Unless you want to become a Genesis Developer or Coder yourself, or you have tons of time to figure it out yourself, just accept the fact you will have to pay for someone else's expertise.

    There is no such thing as a free beer.

    May 21, 2015 at 9:56 am in reply to: How to query a specific portfolio Image in an image tag #153103
    Toon61
    Member

    Hi Brad,

    Thank you for this freebie, really appreciate that.
    In the meantime I've been working my way through the magic and power of wp-query (and a lot more PHP-stuff for that matter), and looking into the different php files from some of the StudioPress Themes I own.
    And I feel I'm getting more and more into it.
    Actually, it is quite fun trying to be a coder (as long as I don't get those completely blank pages...)

    May 21, 2015 at 1:10 am in reply to: How to query a specific portfolio Image in an image tag #153068
    Toon61
    Member

    Hi Brad,

    Pretty easy indeed for a more experienced coder I guess. But I'm afraid I am not such a coder.
    Nevertheless, I'll look into it and see if I can get it working for me.

    Thanks for your reply.

    May 7, 2015 at 12:59 am in reply to: How to build a strict 'masonry'-like portfolio page #150534
    Toon61
    Member

    I've looked at both masonry and isotope effects, but I don't like that reshuffling of elements when you change the width of the browser window. I want it to scale fluidly, just as I did on the homepage (http://mgf.woohoodesign.nl).
    So I think I'll stick with the solution I already created, and try to figure out how to make this more 'intelligent'.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 59 total)
1 2 3 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble