tugbucket
@tugbucket on WordPress.org
- Member Since: April 19th, 2008
- Location: Memphis, TN
- Website: tugbucket.net
Contribution History
tugbucket’s badges:- Plugin Developer
-
Posted a reply to display video based on screen, on the site WordPress.org Forums:
@asciella https://codepen.io/tugbucket/pen/NWBMZMjas to how to insert it you could probably try something like: https://wordpress.org/plugins/insert-html-snippet/ -
Posted a reply to CSS change button background color and font color, on the site WordPress.org Forums:
a.wp-element-button:hover { color: #fff !important; background: #000 !important; border-color: #fff !important; } -
Posted a reply to how to disable right click on a photo?, on the site WordPress.org Forums:
@johnromerro I made a simple child theme for your parent theme. Applied the needed button… -
Posted a reply to how to disable right click on a photo?, on the site WordPress.org Forums:
@johnromerro You can't really prevent the URL from showing without changing the HTML structure of… -
Posted a reply to how to disable right click on a photo?, on the site WordPress.org Forums:
@johnromerro On your site, the images are inside a link tag and what you are… -
Posted a reply to how to disable right click on a photo?, on the site WordPress.org Forums:
$(document).ready(function() { $('body img').on('dragstart', function(e) { return false; }); $('body').on('contextmenu', 'img', function(e){ e.preventDefault(); //return false;… -
Posted a reply to Theme developer doc re functions.php, on the site WordPress.org Forums:
add_action() is a core function. So that wouldn't cause an issue. What it's saying if… -
Posted a reply to can I place invisible hyperlinks that follow a vector image with scale?, on the site WordPress.org Forums:
https://codepen.io/andreawetzel/pen/avpENm http://thenewcode.com/537/SVG-Responsive-Imagemap-with-Text-Information-Popupshttp://thenewcode.com/760/Create-A-Responsive-Imagemap-With-SVGhttp://thenewcode.com/696/Using-SVG-as-an-Alternative-To-Imagemapshttp://thenewcode.com/537/SVG-Responsive-Imagemap-with-Text-Information-Popupshttp://thenewcode.com/760/Create-A-Responsive-Imagemap-With-SVGhttp://thenewcode.com/696/Using-SVG-as-an-Alternative-To-Imagemaps sounds like you want an SVG image map -
Posted a reply to font-size of metadata in blog, on the site WordPress.org Forums:
https://fotofolie.be/wp-content/uploads/elementor/css/post-26.css?ver=1673984844 .elementor-kit-26 a{font-size:3px;} That's causing it. Looks like it is set somewhere in your theme… -
Posted a reply to display video based on screen, on the site WordPress.org Forums:
https://css-tricks.com/video-source-by-screen-size/https://codepen.io/philipbutler/pen/QMBgNXusing jQuery -
Posted a reply to Get Hierarchal list of categories?, on the site WordPress.org Forums:
https://stackoverflow.com/questions/51478592/show-wordpress-categories-as-hierarchical <?php hierarchical_category_tree_09hy7( 0 ); // the function call; 0 for all categories; or cat… -
Posted a reply to Need Help with Figuring out how to hide these variations in shop page., on the site WordPress.org Forums:
@dothypeofficial where ever you add CSS in your theme. -
Posted a reply to Call a slug category by current page, on the site WordPress.org Forums:
$category = get_queried_object(); $slug = $category->slug; then replace 'my-category' with $slug -
Posted a reply to How to add category thumbnails ?, on the site WordPress.org Forums:
https://wordpress.stackexchange.com/questions/95889/show-thumbnail-for-category https://wordpress.stackexchange.com/questions/255559/how-to-add-featured-image-for-category-without-a-plugin just a couple -
Posted a reply to Adding subtitles to category titles, on the site WordPress.org Forums:
https://www.wpbeginner.com/wp-tutorials/how-to-display-category-descriptions-in-wordpress/ -
Posted a reply to How to add category thumbnails ?, on the site WordPress.org Forums:
add_theme_support('category-thumbnails'); isn't a thing. There's several plugins available though that accomplish this: https://wordpress.org/plugins/search/category+images/ -
Posted a reply to Need Help with Figuring out how to hide these variations in shop page., on the site WordPress.org Forums:
:not(.single-product) .cfvsw-swatches-container {display: none !important;} If you just want to hide them, that should do… -
Posted a reply to Advice – Unique page for all voulenteers, on the site WordPress.org Forums:
Note: I've never used this plugin and I am not affiliated with it at all… -
Posted a reply to Tracing the origin of a shortcode, on the site WordPress.org Forums:
Look at your installed plugins. Anything sound like it does what your shortcode is doing?… -
Posted a reply to Permalink Settings for postless website, on the site WordPress.org Forums:
Why would you need to do anything with permalinks for a one page site? Your… -
Posted a reply to Show admin menu item for user ID, on the site WordPress.org Forums:
@wpfy remove_menu_page('options-general.php'); // Settings will remove the entire Settings menu and the OP only want's… -
Posted a reply to Show admin menu item for user ID, on the site WordPress.org Forums:
function admin_WLCMS_82js7( $hook ) {$current_user = wp_get_current_user();$cu_id = $current_user->ID;if ($cu_id != 1) {echo '';}}add_action( 'admin_enqueue_scripts',… -
Posted a reply to Problems with blog post, on the site WordPress.org Forums:
.entry-content ins {background: #fcf8e3;} That's making them that color. Change the hex value. -
Posted a reply to Tag cloud widget/block for specific category, on the site WordPress.org Forums:
@bigmoxy All depends on where you want it and how you go about editing your… -
Posted a reply to Tag cloud widget/block for specific category, on the site WordPress.org Forums:
<?php if(is_archive() && is_category()){ $category = get_category( get_query_var( 'cat' ) ); $cat_slug = $category->slug; echo… -
Posted a reply to Background Overlay Transparency is different on Firefox, on the site WordPress.org Forums:
.elementor .elementor-background-video-container {opacity: .98 !important;} add that and see. Seems to work for me. -
Posted a reply to Removing Mobile Menu, on the site WordPress.org Forums:
.menu-toggle, #sidr-main { display: none !important; } Should remove it visually but then you won't… -
Posted a reply to Background Overlay Transparency is different on Firefox, on the site WordPress.org Forums:
@maxframefelix https://stackoverflow.com/questions/67481893/firefox-mix-blend-mode-bug-on-video-macset the opacity of the video container, in this case the div .elementor-background-video-container to… -
Posted a reply to Background Overlay Transparency is different on Firefox, on the site WordPress.org Forums:
@maxframefelix \ So looking at it more, it does work for a few seconds and… -
Posted a reply to Background Overlay Transparency is different on Firefox, on the site WordPress.org Forums:
@maxframefelix https://codepen.io/tugbucket/pen/wvxBQdWI stripped down your HTML to just the 2 elements you need for the… -
Posted a reply to Query Loop, on the site WordPress.org Forums:
whats your code look like? -
Posted a reply to Change image when clicking on small image, on the site WordPress.org Forums:
the js: https://www.welderwatch.com/Content/js/custom.js?v=1210 the script that is doing the work: $(".product-quick-preview .tm a").click(function () {… -
Posted a reply to NEED HELP! Strange request from my boss about conditional branding!, on the site WordPress.org Forums:
There's probably a lot of ways to do it depending on what all you need… -
Posted a reply to NEED HELP! Strange request from my boss about conditional branding!, on the site WordPress.org Forums:
It just sounds like domain mapping: https://www.google.com/search?client=firefox-b-1-d&q=domain+mapping I've used this before: https://wordpress.org/plugins/multiple-domain-mapping-on-single-site/ Set up your… -
Posted a reply to Exporting/Importing Post, Pages, etc., on the site WordPress.org Forums:
https://deliciousbrains.com/wp-migrate-db-pro/ I am not affiliated with them at all I have just used this product… -
Posted a reply to Changing Blog Title, on the site WordPress.org Forums:
.site-title { text-transform: none !important; } you might just have to force override the CSS… -
Posted a reply to Amazon Affiliate Link Disappears When Clicked, on the site WordPress.org Forums:
a:hover, a:focus { color: rgba(46,77,36,0); } this is somewhere in your theme settings. That 0… -
Posted a reply to not showing all posts, on the site WordPress.org Forums:
@scion529 Great, I'm glad it was something that simple to fix for you. And, I… -
Posted a reply to not showing all posts, on the site WordPress.org Forums:
@scion529 What are your setting in Settings > Reading >Blog pages show at most set… -
Posted a reply to shortcode block calling an image showing in header in FSE themes, on the site WordPress.org Forums:
If I understand right, replace your echo with return. like this line: echo '<figure class="wp-block-post-featured-image"><img… -
Posted a reply to Add Category names to post lists of custom post type, on the site WordPress.org Forums:
@biglaugh so what does this code do for you? <?php $args = array( 'numberposts' =>… -
Posted a reply to Add Category names to post lists of custom post type, on the site WordPress.org Forums:
@biglaugh <?php $args = array( 'numberposts' => -1, 'post_type' => 'sample_post_type', 'orderby' => 'title', 'order'… -
Posted a reply to Add Category names to post lists of custom post type, on the site WordPress.org Forums:
<?php echo get_the_category($mypost->ID)[0]->cat_name; ?> That will display the first category name. If your posts are… -
Posted a reply to How to delete line under title on homapage, on the site WordPress.org Forums:
.page-header, .singular .entry-header { border-bottom: none !important; } Add that wherever you add your custom… -
Posted a reply to Different Featured Images for Home Page and Post?, on the site WordPress.org Forums:
It works fine. I installed your theme. In singular.php replace: <?php the_post_thumbnail( 'post-image' ); ?>… -
Posted a reply to No role for site as a default option and on the list, on the site WordPress.org Forums:
/* add No Role user role */ add_role( 'no_role', __( 'No Role' ), array( 'read'… -
Posted a reply to Adding parameters to text, on the site WordPress.org Forums:
Not 100% sure your end goal but you're using woocommerce so you can maybe start… -
Posted a reply to post author page, on the site WordPress.org Forums:
save that code locally. add it to a ZIP file. go to plugins -> add… -
Posted a reply to post author page, on the site WordPress.org Forums:
@vens007 It's a plugin so you can add it that way and a short code… -
Posted a reply to post author page, on the site WordPress.org Forums:
simple little plugin: <?php /* Plugin Name: Author Button Description: Creates a link to the…
Developer
-
Multi-column Tag Map
Active Installs: 6,000+