Ben Rothman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Track Employee Loginshello @lahondaannie,
This may not be the right place to ask for a plugin suggestion. Try asking here and these folks will probably have the perfect recommendation! https://www.facebook.com/groups/wordpresspluginsuggestions/
Forum: Fixing WordPress
In reply to: Switching from .com to .orghey there @jillmanns20, it looks like you have to update a few URLs on the settings page in the WordPress Dashboard:
https://my.bluehost.com/hosting/help/wordpress_url#from_url- This reply was modified 6 years, 4 months ago by Ben Rothman.
- This reply was modified 6 years, 4 months ago by Ben Rothman.
Forum: Plugins
In reply to: [Gutenberg] Does Gutenberg affect all CPTs?oh well that just created two more questions, lol:
1. What kind of content input field will CPT that dont support Gutenberg have? The standard Wysiwyg field?
2. Gutenberg support for CPTs is tied to REST? They aren’t the same thing so why?Forum: Fixing WordPress
In reply to: WooCommerce CustomizationYes:
<?php //don't copy above opening tag if pasting into functions.php //Add in text after price to certain products function themeprefix_custom_price_message( $price ) { global $post; $product_id = $post->ID; $my_product_array = array( 799,796,792 );//add in product IDs if ( in_array( $product_id, $my_product_array )) { $textafter = '( Upfront Paid in Full Price )'; //add your text return $price . '<br /><span class="price-description">' . $textafter . '</span>'; } else { return $price; } } add_filter( 'woocommerce_get_price_html', 'themeprefix_custom_price_message' );
Forum: Fixing WordPress
In reply to: Font-weight differences in Chrome and Safariits difficult without a link, but is are there fonts that were on the server of the old website that are not being loaded by the WordPress
Forum: Fixing WordPress
In reply to: Image to widget titlesthe code answer is with a filter, the plugin answer is with:
https://www.ads-software.com/plugins/html-in-widget-titles/is the plugin good for you or do you prefer a php filter?
Forum: Fixing WordPress
In reply to: hiding some data : methods to accomplish this ?how did you create the fields?
Forum: Fixing WordPress
In reply to: WooCommerce CustomizationIf you want to change the titles of every product in a category place this function in a php file in wp-content/mu-plugins (make the folder if you have not already)
MU-Plugins<?php /** * Filter woocommerce product titles. * * @package Fix */ /** * Filter the product title by category * * @param string $title The title. * @param integer $id The id. * * @return string Filtered title. */ function woocommerce_category_title_filter( $title, $id ) { $post_type = get_post_type(); if ( 'product' !== $post_type ) { return $title; } $categories = wp_get_post_terms( $id, 'product_cat' ); if ( empty( $categories ) ) { return $title; } $cat_ids = wp_list_pluck( $categories, 'term_id' ); if ( ! in_array( 18, $cat_ids, true ) ) { // 18 is the product category id being filtered return $title; } return 'Per Day ' . $title; } add_filter( 'the_title', 'woocommerce_category_title_filter', 10, 2 );
Forum: Plugins
In reply to: [WP Monitor] Ooooopppsrepeat
- This reply was modified 7 years, 11 months ago by Ben Rothman.
Forum: Plugins
In reply to: [WP Monitor] Ooooopppsif you have any question in the future,feel free to write in this thread again
Forum: Plugins
In reply to: [WP Monitor] OoooopppsActually Ive been working on a fix ever since you initially posted here. Download the newest version and the pach should solve the issue. Let me know if you are still having problems after the upgrade.
Forum: Plugins
In reply to: [WP Monitor] OoooopppsI’m sorry to hear that the plugin is not working for you, can you tell me what other plugins you have installed and what theme you are using?
Forum: Fixing WordPress
In reply to: hide a custom post type's button from dashboardyes, that looks like exactly the thing I am looking for!
But wait, how do I know what to put for the parameter of remove_menu_page() to remove an item that is not in the example?
Forum: Hacks
In reply to: query only finds first 10 poststhanks. Even though that answer was probably simple to you it helped me a lot and I won’t be making that mistake again
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] value of field in text mode of WYSIWYG editorNot sure what happened with the link, it did not work. Just ignore it.