liamslack
Forum Replies Created
-
Yup. Both https://walkeraudio.com.
Sure do.
Hi lorro,
Thanks for the reply. Didn’t realize my theme was out of date. Just updated. It didn’t fix the issue, but it’s up to date now, at least.
Still getting a Session Expired error message, along with a bulleted list of errors that say required fields weren’t completed. They were.
Any other ideas? This seems to have started when I updated to the latest version of Woocommerce.
Forum: Fixing WordPress
In reply to: CSS won't display (reposting after reading the Welcome post)Well, gang, my database was corrupt. I had a not-too-distant backup, and restored the site without incident.
I figured I’d update this thread in case anyone had similar trouble.
Beautiful. Thanks so much for your patience and help, Mikko!
-Liam
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>"> <div><label class="screen-reader-text" for="s"><?php echo apply_filters( 'yiw_searchform_label', __( 'Search for:', 'yiw' ) ) ?></label> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="<?php echo apply_filters( 'yiw_searchform_submit_label', __( 'Search', 'yiw' ) ) ?>" /> <input type="hidden" name="post_type" value="<?php echo apply_filters( 'yiw_searchform_post_type', 'post' ) ?>" /> </div> </form>Is this what you needed?
-Liam
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
It now reads “NULL” under the error.
-Liam
I pasted the above into my searchform.php file in the root of my theme. I didn’t know where to paste it, so I just did so at the end of the existing code.
After doing so, the above: var_dump($wp_query->query_vars[‘post_type’]); now appears under the error message “Not Found” on my results page.
Any thoughts?
Hi Mikko –
I apologize – I only just realized what you were asking. The search returns no results.
http://walkeraudio.com/?s=%24wp_query-%3Equery_vars%5B%27post_type%27%5D&post_type=post
Thoughts?
-Liam
I’m enough of a noob not to know where to find that value. Can you help me out?
-L
Forum: Fixing WordPress
In reply to: Noob trying to understandThanks, WPyogi! That was quick, helpful, and awesome.