Remove widgets on mobile front page without affecting desktop

I customized my desktop page with widgets so that the articles are arranged into different aesthetically pleasing sections… but on my mobile page, I’d like all the articles to just show up by order of last published without being arranged into sections.

Is it possible to not have the widgets on the mobile page separately… while still having widgets on desktop?

I saw a lot of answers that mentioned CSS media queries, but it looks like that’s just adjusting header/stylistic things. I also saw a thing about redirecting, but I would prefer for the mobile to have the same link as the desktop. Is this possible?

Thank you so much.

Edit: I would also like to be able to add back the function of having the latest posts on mobile, as I had to remove it from desktop.

Random disappearance of footer widgets

The footer widget disappear on their own after few days even if the website is untouched. This happened 4-5 times before and I don’t see any security audit log of widget events nor any malware infected. What could be the cause?

There is no solution from the premium theme developers as they have given the common “Added to bug list” reply.

Normal footer:

enter image description here

Footer widgets disappeared:

enter image description here

I have a Development Site for the issue to be checked.

The least security check:

enter image description here

validating input widgets

[This may be a well-worn old question — apologies if so, but I have no idea how to search for it.]

First, the background. (This is not the question yet.) Suppose I’ve got a GUI with an input widget where the user can input a number. And suppose I am allowing the user to type on the keyboard; I’m not constraining things utterly with a prescribed selection list, or +/- buttons to merely adjust an existing value.

Among other things, I’ll probably want to validate the user’s input, to ensure it’s in the appropriate range. For example, perhaps the user is entering the desired speed for a motor, which is limited to the range 0 – 1500 RPM.

Now, there are sort of two general approaches to implementing the validation:

  1. Let the user type more or less anything, but after clicking OK, if the input is not valid, pop up a warning dialog to that effect, forcing the user to cancel or try again.

  2. Contrive to not even let the user type an invalid input in the first place.

And I suppose it’s possible to do various combinations, like only allowing digit keys to be typed, but waiting until OK is clicked before checking the actual value.

In the first case, that warning dialog is arguably a nuisance. It’s additional work for the programmer to code it up, and it’s an interruption for the user, who has to stop and think and figure out what to do next. (OK? Cancel? Or what?)

But in the second case, there’s a subtle potential problem, too. Suppose the current value is, say, 160 (which is well within range). Suppose the user wants to change it to 170. Suppose the user chooses to do this by clicking to set the text cursor between the 1 and the 6, and typing 7 and then the forward-delete key to delete the 6.

But of course this means that for a moment the dialog will say 1760, which is out of range, so this input sequence is disallowed.

So in the second case, which seems generally friendlier in many respects, there’s this sort of bizarre hidden constraint on what the user is allowed to type. Occasionally when using such input methods (I wish I could remember a better example), it’s been like a miniature impromptu brainteaser puzzle, to figure out a reasonably minimal sequence of keystrokes sufficient to change the value I have into the value I want, without ever passing through any intermediate states where the instantaneous displayed value is disallowed.

So, now, the questions: (1) Do these two rather different styles of input validation have names? (2) Are there other tradeoffs between them, beyond the two I’ve mentioned? And, (3) if the second method is preferred, is the problem of having to solve occasional little puzzles as I’ve described something that isn’t expected to come up very often, or that users will just have to put up with, or what?

Algunos widgets de WordPress no funcionan correctamente en Safari

El dropdown menú (Widget) de mi sitio web (Vista móvil) no funciona correctamente en Safari, pero sí en Chrome desde el navegador (Vista móvil).

No puedo hacer click sobre éste, como si no funcionara los códigos de Javascript.

Vean la imagen de abajo para ubicar el menú drop-down al final del sitio web en la sección footer.

(En Consola en Chrome aparece errores que no entiendo)

PD: No soy informático y tengo conocimientos básicos de HTML y CSS

Vista desde Safari

KDE Plasma – Widgets aren’t always shown on Desktop

Previously I had a set of widgets on my desktop, which I’d configured, however, since installing a GPU into my PC they sometimes simply don’t appear. The more odd thing is that sometimes they do. When I check the Widgets list, to add them back, according to the panel they are on my desktop (see image below), so where are they and why are they not displayed?

enter image description here

This is (partial) screenshot from when i was using my PC yesterday and you can see they are indeed there, and I haven’t changed any settings to do with the widgets: enter image description here

If it adds to the help, I do have 2 monitors, however, the widgets (when they do appear) are always on the second monitor and on the far right hand side. I do also note that when I turn on my PC, the monitors on the login screen are the wrong way round; I have to move the cursor to the left side of the screen to get to the right screen, which is really confusing. This was not the case before the Graphics Card was installed. Is that a related issue? If not I’ll post a separate question.

Not sure where to start trouble shooting; I’ve tried readding the widgets, but even then they seem to disappear again, and I end up with a count of 2 and nothing on screen. If you need any specific log files, etc, please let me know.

Kivy duplicando Widgets


Estou tentando desenvolver um programa de metas no Python e Kivy, porém estou com um problema, quando clico no botão “Adicionar Categoria” a função “add_categoria” é chamada e adiciona uma label com o texto que está no TextInput, porém sempre que faço isso, o programa automaticamente adiciona um label vazia primeiro do que a que pedi.

Não adicionei o código inteiro com o restante das telas, para que o post não ficasse muito extenso.

Tela do App:

inserir a descrição da imagem aqui

Arquivo Kivy

<TelaCategorias>:  name: 'telacategorias' BoxLayout:     orientation: 'vertical'      ActionBar:         ActionView:             ActionPrevious:                 title: "Tarefas"                 on_release: app.root.current = 'tarefas'      ScrollView:          BoxLayout:             id: box_categorias             orientation: 'vertical'             size_hint_y: None             height: self.minimum_height       BoxLayout:         size_hint_y: None         height: 40         orientation: 'vertical'          TextInput:             id: texto_categorias             size_hint_y: None             height: 35             multiline: False          Button:             text: "Adicionar Categoria"             size_hint_y: None             height: 35             on_release: root.add_categoria()  <Categorias> size_hint_y: None height: 40  Label:     id: categoria_label     font_size: 20  Button:     text: "CAT"     size_hint_x: None     width: 80 

Arquivo Py

    class TelaCategorias(Screen): pass  def add_categoria(self):     self.texto_cat = self.ids.texto_categorias.text  # Essa variável recebe o texto da variável no KV     self.ids.box_categorias.add_widget(Categorias(self.texto_cat))  # Adiciona o Label chamando a classe     # e passando o valor que está no TextInput     self.ids.texto_categorias.text = ""  # Deixa o campo do texto em branco de novo  class Categorias(BoxLayout):  # A classse é chamada quando a função add_categoria é chamada def __init__(self, text="", **kwargs):  # O __init__ recebe o texto que está na variável do Kivy     super().__init__(**kwargs)  # Inicia os metódos dos BoxLayout     self.ids.categoria_label.text = text  kv = Builder.load_file("test.kv")  # Carrega o arquivo KV.   telas = [TelaLogin(name="telalogin"), TelaCadastro(name="telacadastro"), Menu(name="menu"), Tarefas(name="tarefas"),      TelaCategorias(name="telacategorias")]  # Lista com todas as telas  for tela in telas: sm.add_widget(tela)  # Cria todas as telas adicionando-as com o Add_widget  sm.current = 'telalogin'  # A tela atual passa a ser a Tela de Login  class Test(App):  # Herda a classse "APP" e tem todas as funcionalidades dela def build(self):  # O metódo build inicializa e constrói o aplicativo     return sm  Test().run()  # Roda o APP 

Interação com widgets Checkbutton do tkinter no python3

Estou criando um sistema em python3 usando a biblioteca tkinter, preciso que ao marcar o widget Checkbutton “Marcar Todos” os demais sejam marcados e ao desmarcar, os demais sejam desmarcados.

segue abaixo o código:

from tkinter import * master = Tk()

check01 = Checkbutton(master, text=”Marcar Todos”),y=50)


check02 = Checkbutton(master, text=’Opcao 01′),y=90)


check03 = Checkbutton(master, text=’Opcao 02′),y=110)