awinter
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms Advanced File Uploader] Get filename from uploaded file(s)Hi – any thoughts?
Cheers,
Adam
Forum: Themes and Templates
In reply to: Twenty Eleven – Remove featured posts from default posts pageHi Radley.
First off you need to be sure to be using a “child” of your theme (i.e. a copy that you can edit, not the original theme itself). You can read up on it here or many posts on the forum: http://codex.ww.wp.xz.cn/Child_Themes
I added the code to the bottom of the functions.php, which was fine for me, although not sure if your theme uses the same methods and stickies as twenty eleven. Keep a copy of your original code as a backup then give it a go – you can always revert back to original if it doesn’t work. As long as you are using a child theme then you shouldn’t need to change mychildtheme.
Have you tried the support for the theme? http://ww.wp.xz.cn/support/theme/pinboard
Forum: Fixing WordPress
In reply to: Remove sticky posts from "posts page"Cheers very helpful, was looking for exactly Chip’s solution.
Forum: Themes and Templates
In reply to: Twenty Eleven – Remove featured posts from default posts pageUsed the solution below filtering them out in functions.php as posted in
http://ww.wp.xz.cn/support/topic/remove-sticky-posts-from-posts-page?replies=9
function mychildtheme_filter_pre_get_posts( $query ) { if ( is_page( get_option( 'page_for_posts' ) ) ) { $query->set( 'ignore_sticky_posts', true ); } return $query; } add_filter( 'pre_get_posts', 'mychildtheme_filter_pre_get_posts' );Forum: Themes and Templates
In reply to: Twenty Eleven – Remove featured posts from default posts pageThanks Esmi will give it a go ;o)
Forum: Plugins
In reply to: Add drop-shadow to widget in sidebarHi,
Came to this from your response to my post. For your situation I have found the id of the widget in question then styled it specifically in the css.
So, open your web page with the widget in, view source, find the widget id, then in the css apply:
#yourwidget id { -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; } You could apply the same to widgets in a given area. So for example in all your sidebar widgets in 2011 use:#secondary .widget {
box shadow code as above
}`As per my other post you’ll need to find an alternative for IE (pre IE9) as it doesn’t respond to box-shadow.
Good luck
;o)
Forum: Themes and Templates
In reply to: Twenty Eleven – widget drop shadowfelilikesflowers
Will respond to your original post..
;o)
Forum: Themes and Templates
In reply to: Twenty Eleven – widget drop shadowHi felilikesflowers,
No I didn’t. To be honest I felt a bit scolded for asking (my forst post on a WP forum). I decided to go with a basic drop shadow instead – not as fancy but couldn’t get the page curl effect to work.
I used the following to apply a background and a drop shadow:
background: #fff; -webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.3); -moz-box-shadow:0 2px 4px rgba(0, 0, 0, 0.3); box-shadow:0 2px 4px rgba(0, 0, 0, 0.3);You’ll need something additional for IE (pre-9) tho as it wont play with box shadow. Google it for many different solutions. Here’s a start:
http://robertnyman.com/2010/03/16/drop-shadow-with-css-for-all-web-browsers/
Forum: Themes and Templates
In reply to: Twenty Eleven – widget drop shadowHi, yes seen that, should have said however that the site is still in construction and password protected on clients hosting so I can’t really post a link.
I am using a child theme, importing Twenty Eleven.
As its already been posted I just wondered if a solution had been found – I was hoping to attract attention from the original poster to see what they did – given that the post doesn’t give the solution.
I have used the css exactly as stated in nicolas gallagher’s blog post, then used Widget Classes plugin to add the .drop-shadow class to my widgets (mainly cos I cannot for the life of me find where to add the class). Any help much appreciated.
Cheers,
Adam
Hi,
Did you resolve this? I have exactly the same issue.
Any help much appreciated
Adam