plugins – Checkbox show / hide output result

Question

How can i fix a show / hide function in my plugin.

The checkbox called “snup_check” at line 257 should be standard unchecked.

If the checkbox is unchecked nothing should happens.

If the checkbox is checked this post is not gonna show up in the SNUP widget in the frontsite.

My question is:

  1. How can I save a checkbox ?
  2. How can I show / hide the output from the widget ?

The code for the project is here:
https://github.com/bjovaar/SNUP

SNUP code for showing
SNUP front

SNUP Code

0
bjovaar 4 months 2022-04-04T07:17:41-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse