473,395 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Using JavaScripts Generators into WordPress Websites

Hy, I have a competitor who uses custom HTML+CSS along with JS in his WordPress website to implement Generators.

I also wish to use the same thing because it increases the page views but I don't seem to do so. Do we require any extra plugin for it?
Dec 10 '18 #1
8 1874
I don't know much about coding, but I think there is a plugin named Lorem Ipsum Generator from which we can create generators. I am not sure it is right for you or not, but I hope this might be helpful.
Dec 11 '18 #2
I have gone through it. It is exactly not a generator plugin. It just produces random dummy text for websites.

I need a generator like for Gift Cards & Promo Codes.
Dec 12 '18 #3
Hi, jay gummers according to me I think building generators like it are not legal. If you still want to make, then you have to understand the programming language.
Dec 12 '18 #4
I don't think they're illegal at all. This website where I found it has like thousands of daily users on the website.

Can you tell how to make them?
Dec 13 '18 #5
gits
5,390 Expert Mod 4TB
well - just a search for 'gift cards' in the wordpress plugins yields:

https://wordpress.org/plugins/search/gift+cards/

may be thats the kind of thing you are looking for (basically mostly suited for Woocommerce)? else its possible to develop something of course but this is much more effort - and would require more information about setup and such. Just to give you a simplyfied example for the principle that would need to be implemented with a promocode:

1. generating a code - relativly simple
2. the generated code would need to be stored in your database somewhere - because you want to at least be able to check if the code was only used once or how many times you want it to be used. after that the code should be invalid.
3. depending on how your shop works - your checkout form would need to have a field/line or however it should be handled (may be even as an additional product or such in the cart) to type in a code and the system would need to handle it accordingly for calculation or such.

i really cant think of a solution that wouldnt involve some backend here for a useful usecase - that means its not only HTML/CSS/Javascript - since that is only used clientside, while the purpose of promo codes/Gift cards is to be handled at the serverside for calculations and whatnot. So if you have a Woocommerce solution then a prebuilt plugin is probably the easiest option to go with.
Dec 14 '18 #6
Hi @gits

Thanks for reaching out for help. But I don't think you got my question right. I am actually for a Generator Script which I embed into my website.

P.S. I don't have a Woocommerce Store & I don't need Gift Cards for coupons. Also, I cannot put any link in the thread because it is a new account.
Dec 14 '18 #7
gits
5,390 Expert Mod 4TB
well more above you mentioned gift cards - so what should it exactly generate?
Dec 14 '18 #8
Iam talking about the Gift Card Codes.
Dec 15 '18 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: The_Incubator | last post by:
As the subject suggests, I am interested in using Python as a scripting language for a game that is primarily implemented in C++, and I am also interested in using generators in those scripts... ...
2
by: sdvoranchik | last post by:
We have an application that contains links that run javascripts to create pages in a separate frame. When these links open an external site, it causes the javascripts to no longer function. When...
6
by: JCO | last post by:
Can somebody help me write a JavaScript that will allow a download dialog to display then download the selected file (regardless of the file type). That way, they won't open a word on the computer...
3
by: David | last post by:
I found and interesting article, "Experiences of Using PHP in Large Websites" (http://www.ukuug.org/events/linux2002/papers/html/php/) , which lists some issues with scaling PHP for larger...
7
by: Tigger | last post by:
Dear Experts, I am working on ASP.NET. I have got a problem related to the usage of Javascript in ASP.NET. Please help. The story is the following: 1) I am developing an ASP.NET application. I...
2
by: stroumf | last post by:
Hey, My problem is the following: I need to use functions from different javascripts and I don't want to load all the javascripts initially. So I need to load the scripts on demand. Now I know...
0
by: bteo | last post by:
I'm a newbie coder in fact I'm pretty bad. So I was wondering if anyone know how to execute a javascript file in php. Is it the same as html where I just dump the code into the php code? ...
16
by: abhishekitb | last post by:
Hi., i dont know how to get windows username using javascript.. can someone help me please.. thank you in advance,
1
by: Ale | last post by:
how can i connect to the database using javascripts?...First of all...is it possiible to connect to the database(SQL/oracle/MySQL/..)
1
by: vickygoelk | last post by:
Hey my question is how we disable the firefox drag feature using javascripts?. if it possible then please solve this problem. Thanks, vivek Kumar
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.