Forum Replies Created
-
AuthorPosts
-
badlydrawnbenMember
Hi Jessica,
I can see all those changes in effect when I look at the site so it has worked. Must be cached somewhere at your end I think.
Ben
badlydrawnbenMemberIt's Genesis - anything is possible!
There's 3 ways I'd go about tackling this:
- 1. Do some Googling of creating a custom WordPress loop and edit the blog template with that. I don't think any of Sridhar's tutorials tackle that exact loop problem but they'll show you how to create your own Genesis template.
- If you can make it a widget area then the Genesis Featured Posts widget will allow you to set the first 2 posts to full content, then print a list of the remaining ones. I'd go for that option first.
- Get the Views plugin from wp-types. It costs $99 or so, but in my experience it saved me countless hours as it lets you create custom wp-loop queries and outputs really easily without touching the PHP code. I use it on almost all of my projects these days.
Thanks,
BenOctober 24, 2014 at 1:00 pm in reply to: Would like to put the navigation below the Banner logo #128996badlydrawnbenMemberHi Brenda,
From a quick look, I think the issue is that you've put the menu in a widget in the header-right widget area - which is designed to sit alongside the logo area.
If I were you I'd remove that widget and then go to the Customise option and add your menu to either the Primary or Secondary menu areas. They will sit above or below (depending on how the eleven40 theme works) the wrapper div that holds the logo in.
You can do a quick search of 'Genesis snippets move Primary Navigation' to see how to move it before or after the header to put it where you want it.
Thanks,
BenbadlydrawnbenMemberI haven't tested it, but you could add something like this into your functions.php file:
add_action( 'genesis_before', 'site_desc_home_only' ); function site_desc_home_only() { if( is_home() ) return; remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); }
It's basically saying that if it's the home page then it will do nothing, otherwise it will remove the site description from the page.
Ben
October 24, 2014 at 12:45 pm in reply to: Put image-slider in top where background image is (Minimum pro theme) #128993badlydrawnbenMemberHi,
Have you tried Sridhar's tutorial here: http://sridharkatakam.com/how-to-replace-background-image-in-minimum-pro-with-responsive-slider/
That looks to be exactly what you want?
Ben
badlydrawnbenMemberHi Lisa,
I don't think it's easy to do with just CSS if each of the parent items is a different width. Could be a fairly simple jQuery fix with something like this though? http://www.amitywebsolutions.co.uk/tech-blog/center-aligning-a-child-menu-drop-down-with-jquery
Ben
badlydrawnbenMemberThat's brilliant - thanks Dave. With my own name in the function and everything!
Much appreciated,
BenbadlydrawnbenMemberHi,
Minimum Pro has a fixed header like Centric Pro, so something like this is probably a good place to start I think: http://sridharkatakam.com/make-utility-bar-header-fixed-minimum-pro/
badlydrawnbenMemberHi,
I'm not sure you need to write a custom function for a lot of it. In the Layout settings meta box on the post/page edit pages there's a space to assign a custom body class. I'd just put something in there, and then use your style sheet to specify which background image to use
e.g.
body{ background:url('image1.jpg'); } body.custom-one{ background:url('custom-image1.jpg'); }
etc.
Or am I misunderstanding what you are trying to do?
Thanks,
Ben
badlydrawnbenMemberInstead of that method that uses two different menus (primary and secondary), you could use this plugin which allows you to just use the primary menu. http://mattkeys.me/products/wp-nav-plus/
I have it and I find it really useful for the sidebar nav menus it makes as well.
That might solve your problem a bit better?
badlydrawnbenMemberSorry, because this is directly in Genesis Hooks and not inside a function then 'return' might not work.
<?php if ( is_front_page() ) { echo '<div class="home-slider">'; dynamic_sidebar( 'home-slider' ); echo '</div>'; } ?>
Should do though - it works on mine anyway.
Ben
badlydrawnbenMemberOK - try this in the Simple hooks box:
<?php if ( is_front_page() ) { return '<div class=”home-slider”>'; dynamic_sidebar( ‘home-slider’ ); return '</div>'; } ?>
June 17, 2014 at 2:41 pm in reply to: Agency Pro, add transparent pattern over background image #110256badlydrawnbenMemberYou can have multiple background images in CSS3 - so you don't need an extra DIV or class.
Something like this
background:url('transparent-image-url') 0% 0% repeat, url('photo-url')
would do the trick. This page does something similar for example: http://madebyben.eu/tackle/what-we-do/
Thanks,
Ben
badlydrawnbenMemberHi kfleeger,
Have you looked at Sridar's tutorial site? There's loads of good stuff on there and this one looks like it might solve your problem?
http://sridharkatakam.com/single-archive-templates-custom-post-type-genesis/
Thanks,
Ben
badlydrawnbenMemberHi Lisa,
If you're using Simple Hooks then try this in the box and make sure the 'Execute PHP in this hook' tickbox is ticked
<?php if ( is_front_page() ) { [put your slider shortcode or php code here]; } ?>
Ben
-
AuthorPosts