128 reputation
7
bio website sethalling.com
location Madison Heights, MI
age 29
visits member for 2 years
seen Aug 4 at 13:55

Lead Developer for Ranch House Designs. Graphic designer. Husband. Father. Mormon. Sports fan of Detroit teams and BYU.


Jul
3
accepted Limit top level menu items on wp_nav_menu
Oct
24
comment Custom field losing p tags on display
The difference is preference. The solution I have uses the main WP function for displaying content and creates a reusable filter for other areas on your site if you use apply_filters. As I normally use this solution when I'm creating custom wysiwyg editors, there may be some filters added that you don't need in functions.php. For your situation, you probably only need wpautop. And if you don't need the filter to be reusable, you can probably just use `<?php $story_content = get_post_meta($post->ID, 'story', true); echo wpautop( $story_content ); ?> and remove the code from functions.php.
Oct
24
answered Custom field losing p tags on display
Oct
23
answered Trying to get property of non-object in wp-includes/capabilities.php
Sep
6
awarded  Commentator
Sep
6
comment How to link to a alternative page in CSS
I don't see how the php include will help. You need to create a javascript file in your theme directory containing the very last code block of my answer. Then you need to put in your functions.php file the code block directly above, changing the file name to your newly created js file.
Sep
6
revised How to link to a alternative page in CSS
added 103 characters in body
Sep
6
comment How to link to a alternative page in CSS
I actually agree. I was trying to come up with a simple solution utilizing css only. The comment by @G.M. is the best solution, but it also takes the most work (which many times means it's worth it!) :)
Sep
6
revised How to link to a alternative page in CSS
added 208 characters in body
Sep
6
comment How to link to a alternative page in CSS
You'd put the code all on one page. There wouldn't be a switching of pages. It would just display or hide the different content areas depending on what size the browser is set to.
Sep
6
comment How to link to a alternative page in CSS
If it's just the content, then this solution will work. You'll hide everything within your one container dive, and display the other, and then on the max width, reverse them.
Sep
6
comment How to link to a alternative page in CSS
It is possible, as long as it's only the content area that is being changed. By putting the class page-id-164 in front of your selectors, you will make it custom for that page utilizing your custom css. If you are changing your entire layout, including the headers, then that will be difficult to do with only css
Sep
6
revised How to link to a alternative page in CSS
added 131 characters in body
Sep
6
comment How to link to a alternative page in CSS
It wouldn't work in custom css. You'd need to call in a new file or place it in script tags within your theme.
Sep
6
revised How to link to a alternative page in CSS
added 131 characters in body
Sep
6
comment How to link to a alternative page in CSS
I've added the js for the code. It turns out that WP automatically strips slashes of the rel, so you'll just have to add a custom class and then manually change the url in your jQuery.
Sep
6
comment How to link to a alternative page in CSS
For the js, you can go to screen options on your menu and turn on Link Relationship. Then on the menu item, put in the different url. Also turn on classes and give it 'change-link'. I'm working on the jquery really quick right now.
Sep
6
answered How to link to a alternative page in CSS
Aug
29
comment Resize header image
If you are using Chrome Developer Tools (or Firefox with Firebug) you can view the properties of the header using inspect element. Your matched CSS Rules will tell you the location of the file with that css. If it is your page itself, then it means the css is probably being generated through the functions.php file or the a theme php file.
Aug
17
answered Inconsistent title for posts