Drinkguesser
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to hide content if product is not visible?I received some help and here’s the solution:
<?php $visibility = $product->is_visible(); if ( $visibility ) { ?> Content displayed if product is visible <?php } else { ?><!-- else if product is not visible --> Content displayed if product is not visible <?php } ?>
Forum: Themes and Templates
In reply to: [Mise] Turn off header scrollThanks so much! ??
Forum: Plugins
In reply to: [WooDiscuz - WooCommerce Comments] Making it Appear out of a tabSame request here, some way of displaying it via shortcode or in the template somehow would be awesome!
Forum: Plugins
In reply to: [WooCommerce] Conditional Statements for Catalog Visibility?Thanks so much Caleb! ??
Wanted to say that I figured out the solution and the problem was that my theme excluded “pages” from the search results – effectively disabling the search functionality in the dashboard area. ??
Forum: Fixing WordPress
In reply to: Allow visitors to search by multiple tags (specific IDs)I understand, I appreciate the effort and assistance Tara ??
Forum: Fixing WordPress
In reply to: Allow visitors to search by multiple tags (specific IDs)Tara, I’m not sure if you’re being snarky or not.
Of course I have Googled and attempted to find the solution, thus my reason for posting in the forums here.
Forum: Fixing WordPress
In reply to: Allow visitors to search by multiple tags (specific IDs)Have already done that, I know there has to be a snippet of code that just allows me to display specific tags for them to choose from – I just don’t know how to do that.
Forum: Fixing WordPress
In reply to: Allow visitors to search by multiple tags (specific IDs)Hi Tara,
I appreciate the input, but what I’m looking for doesn’t have anything to do with custom fields or any relation to that discussion.
I’m attempting to display search results based upon multiple tags being selected (by specific ID).
Thanks for replying though.
Forum: Fixing WordPress
In reply to: Sticky Posts on Archives (Categories, Tags, etc.)I finally found the solution after several hours of digging and searching, if anyone else needs it trying to do the same thing I came across this great post: https://davidnash.com.au/wordpress-show-sticky-posts-then-show-all-other-posts-in-one-loop/
Simply add this to your functions.php file:
add_filter(‘the_posts’, function ($posts) {
$stickies = array();foreach($posts as $i => $post) {
if(is_sticky($post->ID)) {
$stickies[] = $post;
unset($posts[$i]);
}
}
return array_merge($stickies, $posts);
});Forum: Fixing WordPress
In reply to: Find on which pages we have disabled commentsYou could just bulk edit them
- Click on “All Posts” in the dashboard
- Select the top selection box (so it puts a checkmark in the box next to all of your posts)
- Select “Bulk Actions”
- Choose “Edit”
- Select “Apply
- When the box opens, next to “Comments” choose “Allow”
- Then click “Update”
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Disable Font Awesome?Sorry, I feel so dumb I simply overlooked it.
Forum: Fixing WordPress
In reply to: Multiple WordPress Installations but Removing Subdirectory URLYeah, it’s showing example.com/subdirectory – however, if I simply remove that it messes everything up.
Forum: Fixing WordPress
In reply to: Multiple WordPress Installations but Removing Subdirectory URLYeah that’s the issue, it’s already installed in the root and the subdirectory spits out links like:
example.com/subdirectory/category/post
and I want them just as:
example.com/category/post (but on the subdirectory install)
I know it seems like a crazy setup.
Forum: Fixing WordPress
In reply to: Multiple WordPress Installations but Removing Subdirectory URLYeah I was wanting to install it in a subdirectory and strip out the subdirectory part of the URL.
I’m dealing with SEO issues so not wanting to redirect or simply re-import, I want to move pages one-by-one and rebuild the site (gradually) with the new URL structure.
It just looks better as example.com/category/post than example.com/subdirectory/category/post because of the situation I’m in, otherwise I would just set up an entirely new install on /subdirectory and then point the site to that :-/