Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
362 views

I a couple of WordPress sites that uses Elementor Page builder. Currently, when I go to Pages, Posts, or custom post types, I see two Edit buttons. One for WordPress editor another for Elementor. I ...
RitZz's user avatar
  • 11
0 votes
0 answers
70 views

I created a custom variation table in WooCommerce, and I need to display product variations thumbnails in that custom table. What is it the right way? What is the code to create this? Here is a ...
italywebonline's user avatar
3 votes
0 answers
190 views

In my project I use reflection to find and invoke certain (optional) methods, rather than defining an interface which forces the methods to be implemented. This is partly to support parameter ...
Dom's user avatar
  • 53
1 vote
0 answers
101 views

I am using VSCode and PHP 8.1+. In standard way, we can get hints when we type $myClass->??? and we will get a list of functions within the class. However, recently I have a class that could ...
Philip's user avatar
  • 73
1 vote
0 answers
46 views

I created a custom tailwind snippet for .css file and then found out that I have no snippet suggestions in .css file at all. Don't think it relates to the problem but here is tailwind custom snippet ...
Lvasche's user avatar
  • 561
0 votes
1 answer
90 views

I have a WordPress application with a lot of pages that are created using codes that I wrote in PHP and are inserted into the pages using PHP-code-snippet. Now I want to create a 'newsletter' (...
Marija Kasalo's user avatar
-1 votes
1 answer
95 views

it is possible in WordPress to delete or hide the last page of the pagination, in order to allow users to continue the search without giving them the possibility of seeing the last page. And then ...
Maurizio Mingoia's user avatar
1 vote
0 answers
57 views

Background I am creating the README.md for my GitHub repo ("MyRepo"), which provides certain VBA functionality. Here I wish to display a code snippet, which the user should paste into their ...
Greg's user avatar
  • 3,368
0 votes
0 answers
59 views

I have a wordpress site and with a code snippet created a php header location redirect. Now I have locked myself out and can no longer get to the wordpress page. Neither in the frontend nor in the ...
robsn's user avatar
  • 7
0 votes
1 answer
305 views

I am modernizing a lot of VB.NET code to CSharp and I need to convert dozens of dialogs to conform with our new MVP standard. I'm trying to write snippets so I can more easily bang out the boiler ...
Jason Adam's user avatar
0 votes
0 answers
538 views

I have snippet below to login on wp-login page without password. I only need to know user login and I don’t need to input anything in password field. This sippet worked fine up to 6.2.2 WP version, ...
Konrad Bartczak's user avatar
0 votes
1 answer
227 views

In a user snippets the following work, SELECT * FROM ${1:TableName} as ${2|a,b,c,d,e,f|} but it only presents you with a list of the 6 letters ( a to f) for an alias like this: SELECT * FROM ...
callisto's user avatar
  • 5,113
0 votes
1 answer
76 views

when I type if, there's a snippet suggestion as below: But I can't find this snippet by insert snippets command: it shows nothing: I just wonder why and the content of the if snippet ain't what I ...
n1nja88888's user avatar
0 votes
0 answers
843 views

I'm using a simple form using Elementor Pro Forms. I'd like to filter out spam by only allowing zip codes starting with 91 or 92. Is there a code snippet I can add to help me do this? I found this on ...
Freddy T.'s user avatar
1 vote
1 answer
1k views

I'm writing a README file for my GitHub repository using Markdown. At one point in the README file, I have C# code that the user may copy-paste. This code is long—54 lines, to be exact—and I don't ...
Zeek Joseph's user avatar
0 votes
1 answer
72 views

I wish to create embeds in notion to manage and share my code snippets. However, some code snippets serve the same purpose. For example, a sorting algorithm can be written in multiple programming ...
Paulin's user avatar
  • 1
0 votes
1 answer
23 views

I have two queries in snapi language: let hello = List.Build(1,2,3) in hello and let hello = Collection.Build(1,2,3) in hello They return the same result. I run the queries but I don't see any ...
Alex Zerntev's user avatar
0 votes
0 answers
37 views

I wrote a snippet for Visual Studio 22 with the following content: <?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/...
Dennis Christian's user avatar
0 votes
0 answers
72 views

I have this issue: I have 4 categories, but I want that users can purchase min & a max of 3 items in a total of 3 of these categories. And, for the other category, they can only add 1 item per ...
Nat's user avatar
  • 47
0 votes
2 answers
920 views

I am trying to use Java in VS code. I am having problems with code completion snippets. I have the Language Support for Java(TM) by Red Hat extension installed (along with the whole java extension ...
MMycroft's user avatar
2 votes
0 answers
193 views

I enjoy using Kate snippets for quick Python scripts, but I'm having a hard time getting them to properly inherit or detect indentation levels after the first line. Consider the following snippet: ...
WesH's user avatar
  • 490
0 votes
0 answers
831 views

I frequently apply null checks to my parameters when developing in C# (like any good developer should!). Because I can be lazy, I'd prefer to let Visual Studio add these for me, which it can. However, ...
Brian Kessler's user avatar
1 vote
1 answer
158 views

I'm able to create snippets for visual studio in my documents file. But I'd like some snippets to be distributed to the rest of my team via source control, so some way of including a snippet with a ...
Thomas Slade's user avatar
0 votes
1 answer
510 views

I'm developing my Java project with VS Code when I find some powerful snippets: suffix code snippets After I type a variable name and type .sysout, .cast and so on, the snippet suggestion pop out. ...
rennsax's user avatar
  • 48
0 votes
1 answer
68 views

I need generate my custom tag "django template tag" I want to create correct tag for snippet after bdlock{foo} get {% block foo %} {% endblock content %} I have that { "html"...
Yevgen Vasilyev's user avatar

1
2
3 4 5
39