mrpress01
Forum Replies Created
-
Thanks for the reply
but enabling this option can I create a form as I described?
Forum: Plugins
In reply to: [WooCommerce] remove function from woocommerce hook. HelpI solved using conditional tags
if ( is_product_category()Forum: Plugins
In reply to: [WooCommerce] remove function from woocommerce hook. HelpI tried to replace the template but changing this code also changes in the search results and I wanted to change it only in the product categories
Forum: Plugins
In reply to: [WooCommerce] Change text in Woocommerce categoriesok @shellbeezy, I create a new language file
this solves the problem of future updates. This change, however, changes the text within the product category (when there are no products) and that’s what I wanted, but also changes the text in the search form (when the words entered do not match with any product. just the text in the categories and not from other parts? maybe using php and some hook?
Forum: Plugins
In reply to: [WooCommerce] Change text in Woocommerce categories@mrpress01
I tried the blugin, it works fine but I have a problem, I’m afraid that my changes will be lost with an updated future. the notification plugin:Changes to this file may be overwritten or deleted when you update WordPress.
I noticed that changing this text (present in the product categories) also changes it in the search results. maybe modifying with php I can only change it in the categories
any ideas to avoid this?
- This reply was modified 8 years ago by mrpress01.
Forum: Plugins
In reply to: [WooCommerce] Change text in Woocommerce categorieshello @shellbeezy, thank you for answering. I immediately try the plugin. do you also know a way, by intervening on the code to change it? I do not like plugins
Forum: Fixing WordPress
In reply to: hide products or categories from woocommerce?Thank you
Forum: Fixing WordPress
In reply to: simple grid systemI have already heard and tried it but unfortunately it is not very supported yet. does anyone know a grid system to use? also a module with SASS.
Forum: Developing with WordPress
In reply to: include js menui thank you all for your free help. This is a beautiful comiunity where we can all learn new things together. the stellar-nav-min file is a css file to stylize the menu. it’s not a js.
Forum: Developing with WordPress
In reply to: include js menuI solved it, after a long time I am alone to find out where the problem was. jquery was loaded after the script. I inserted it at the beginning of the header with <script> tag. Can you tell me a way to inject jquery into a hook from the function.php file? thank you so much.
Forum: Developing with WordPress
In reply to: include js menu@bcworkz
For the tests I inserted them in the wordpess hook (only for now)function consultweb_scripts() { wp_enqueue_style( 'consultweb-style', get_stylesheet_uri() ); wp_enqueue_style('styles', get_template_directory_uri() . '/inc/style.css'); wp_enqueue_style('stellarnav.min', get_template_directory_uri() . '/js/stellarnav.min.css'); wp_enqueue_style('consultweb-grid', get_template_directory_uri() . '/inc/grid.css'); wp_enqueue_script ( 'stellarnav', get_template_directory_uri() . '/js/stellarnav.js'); wp_enqueue_script ( 'myscript', get_template_directory_uri() . '/js/myscript.js'); } add_action( 'wp_enqueue_scripts', 'consultweb_scripts' );The scripts (js and css) are loaded correctly in the header. As shown below
</style> <link rel="stylesheet" id="consultweb-style-css" href="http://localhost/consultweb/wp-content/themes/consultweb/style.css?ver=4.9.2" type="text/css" media="all"> <link rel="stylesheet" id="styles-css" href="http://localhost/consultweb/wp-content/themes/consultweb/inc/style.css?ver=4.9.2" type="text/css" media="all"> <link rel="stylesheet" id="stellarnav.min-css" href="http://localhost/consultweb/wp-content/themes/consultweb/js/stellarnav.min.css?ver=4.9.2" type="text/css" media="all"> <link rel="stylesheet" id="consultweb-grid-css" href="http://localhost/consultweb/wp-content/themes/consultweb/inc/grid.css?ver=4.9.2" type="text/css" media="all"> <script type="text/javascript" src="http://localhost/consultweb/wp-content/themes/consultweb/js/stellarnav.js?ver=4.9.2"></script> <script type="text/javascript" src="http://localhost/consultweb/wp-content/themes/consultweb/js/myscript.js?ver=4.9.2"></script> <link rel="https://api.w.org/" href="http://localhost/consultweb/wp-json/"> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost/consultweb/xmlrpc.php?rsd"> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost/consultweb/wp-includes/wlwmanifest.xml"> <meta name="generator" content="WordPress 4.9.2"> <link rel="canonical" href="http://localhost/consultweb/pagina-di-esempio/"> <link rel="shortlink" href="http://localhost/consultweb/?p=2"> <link rel="alternate" type="application/json+oembed" href="http://localhost/consultweb/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%2Fconsultweb%2Fpagina-di-esempio%2F"> <link rel="alternate" type="text/xml+oembed" href="http://localhost/consultweb/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%2Fconsultweb%2Fpagina-di-esempio%2F&format=xml"> <link rel="pingback" href="http://localhost/consultweb/xmlrpc.php"> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head>while in the console I get errors:
stellarnav.js?ver=4.9.2:243 Uncaught ReferenceError: jQuery is not defined at stellarnav.js?ver=4.9.2:243 (anonymous) @ stellarnav.js?ver=4.9.2:243 myscript.js?ver=4.9.2:2 Uncaught ReferenceError: jQuery is not defined at myscript.js?ver=4.9.2:2 (anonymous) @ myscript.js?ver=4.9.2:2Has not the jquery version been defined?
I do not know what it is thoughThanks so much
Forum: Developing with WordPress
In reply to: include js menuI did not want to be rude, maybe I was misunderstood. I do not pretend you do the job for me. my problem is that I can not implement a jquery plugin. I think the procedure is the same for other plugins too. if the site works I share the source code of the page. Sorry again
Forum: Developing with WordPress
In reply to: include js menuthis site does not work. maybe you can help me anyway. my problem is to implement this jquery plugin (https://www.jqueryscript.net/menu/Mobile-friendly-Multi-level-Dropdown-Menu-Plugin-jQuery-Stellarnav.html) in Underscores starter theme. How would you do? so then I follow your steps and I understand where I was wrong. thank you so much
- This reply was modified 8 years, 4 months ago by mrpress01.
Forum: Developing with WordPress
In reply to: include js menuif I go to this link https://ccsdesk.com/ I am asked to enter username and password. can you give me the link to upload my page to share?
Forum: Developing with WordPress
In reply to: include js menubecause the post I had added was banned for the link I had entered
I immediately follow your guide and put the link