Skip to content
Advertisement

Tag: wordpress

Stop requesting a script from loading in HTML-file

I am trying to stop a script from loading in HTML on my Wordpress website. In my HTML file I can see these two scripts: <script type=”0f1a6d7ca503db410c0d10c4-text/javascript” src=’https://www.[———–].se/wp-content/plugins/theme-my-login/assets/scripts/theme-my-login.min.js?ver=7.1.2′ id=’theme-my-login-js’></script> <script type=”0f1a6d7ca503db410c0d10c4-text/javascript” src=’https://www. [———–].se/wp-content/themes/guru/framework/js/public/jquery.smartresize.js?ver=5.5.2′ id=’jquery-smartresize-js’></script> In public_html/wp-content/themes/guru/framework/register_public.php I can comment out the second script and prevent it from loading to HTML by setting /* */ in the above php file: The

Can I write HTML tags inside of a React code?

Sorry I’m newbie to React. It might be a stupid question but can I write HTML code inside of a React code? I’m trying to make a custom block for my wordpress theme and found a example code of JavaScript. I inserted some div tags and p tags inside of the code like HTML, but keeps giving me error. I

Search by post title wordpress without reflesh

I want to create wordpress search by title without refleshing page. New results have to be shown when more than 3 symbols are typed in search. I’ve got input with form: But when I’m typing – value of input is not changing. How can I search posts after typing 3 symbols if I cannot get input.value.length? Also how can I

How to find and repalce anchor tag link inside td in php

I am working with wordpress,I want to change “url”(product link) of “product-image” in “cart” page, So i have following code (dynamic) How can i change the url of this product with jquery,I tried with following code but not working,how can i do this ? Answer You can do it like below: Running example: Note: Now based on the product name

I am trying to use AJAX to change the orderby and order arguments in a WP_Query, but I can’t determine why my code won’t work [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 10 months ago. Improve this question

How to init hidden swiper on page load?

I have a swiper positioned inside a tab on a wordpress site, thus it is not initiated on page load, so the navigation function does not work. You can see it here by clicking on the “görüşler” tab. I did a research and I found out that it’s a common issue and it can be initiated with some custom jquery.

Advertisement