All Questions
259 questions
0
votes
0
answers
26
views
How to delete widget in Wordpress?
I would like to remove the widget that is in the attached screenshot. Recently I managed to write a short code in the additional CSS code in Wordpress. Unfortunately, I changed the theme and this code ...
0
votes
2
answers
42
views
Why does the "visual editor" add useless html-comments and how can I get rid of them?
This is a paragraph and a hr-separator in html:
<p>Test</p>
<hr/>
This is what happens when I create it in the visual editor:
<!-- wp:paragraph -->
<p>Test</p>
<...
0
votes
0
answers
19
views
My backround image in css is not showing
Css
styles.css
body {
position: relative;
background-image: url('blue.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-...
0
votes
1
answer
66
views
How can I highlight the active page using paginate_links()?
I wrote this code:
<div class="col-12">
<div class="pagination d-flex justify-content-center mt-5">
...
0
votes
1
answer
26
views
How to change css poperty through webhook in wordpress
Here is the code that I have wrriten in the snipnet plugin and it is return parse error when i am returning data.
// JavaScript function to toggle button visibility
function showTheButton($...
0
votes
0
answers
28
views
Header menu permanently expanded in header responsive theme
It's been a long time since I have played around with the WordPress admin and style/theme and have discovered my sites header menu is permanently expanded, showing all the submenus. I am using the ...
0
votes
0
answers
18
views
Editing stylehseet url in head section of WordPress
In our website, in the <head> section there is a call to a stylesheet and the URL is unsecured (HTTP). I would like to edit this to be https, but I'm not sure what file to edit to achieve this.
...
0
votes
0
answers
15
views
Identify and style the paragraph beginning w/o a class: based on a combination of common characters (CSS, JS)
There are html-constructions: <p>— Some random text.</p>. Without class.
According to the specified attribute "dash, space, some random text.", I need to catch this condition and ...
0
votes
1
answer
52
views
How can we upload custom page files?
By making our own .html, .css and .js pages, how can we upload them in WordPress directory correctly? And then, how can we insert, for example, our Elementor's header (which is being used in all ...
0
votes
1
answer
50
views
Elementor Contact Form Submit button has empty class
I have a contact form here: https://www.vztplzen.cz/kontaktni-formular/ It is built using Elementor’s Contact Form widget. The submit button has empty class:
<button type="submit" name=&...
0
votes
1
answer
305
views
Editing size of h3 tag in wordpress on a one-off basis
I have a post on my WordPress site (I'm admin) that has H1, H2, and H3 tags.
I want my H3 tags for this post to more resemble my h4 tags in size. However, I don't want to break the hierarchy and just ...
0
votes
1
answer
49
views
Modal pop-up HTML code works on other sites or HTML viewers but not in the custom HTML block within a wordpress page?
I'm not the best at coding, but I've managed to create this html code of a modal pop-up which includes CSS, Javascript, and html... it works in an html viewer or anywhere else except the wordpress ...
1
vote
0
answers
18
views
How to create a "Most Popular" & "Latest" TAB in Wordpress
On my gaming website, I upload videos to the website, which is on the homepage of the website.
The problem is, that I need to add a "Most Popular" tab & "Latest Videos" tab, ...
0
votes
0
answers
45
views
Wordpress site suddenly not showing some DOM elements but mobile is fine
So today I discovered that my website's homepage https://olgupsikoloji.com is missing body elements. It is a WP site running on AWS Ubuntu and LiteSpeed with LSCache and Memcached.
The issue is: Some ...
-1
votes
1
answer
363
views
Option value not getting updated until page refresh in WordPress
I am building my WordPress plugin. There, at first I am using a checkbox, and then updating the value from the checkbox (yes or no) in the Database. Then, from later on I am fetching the value form ...
0
votes
0
answers
28
views
How to create a container in php then customise it in CSS
I am a newbie so I think i have worded this right.
I am using wordpress and have an if clause to echo something about returns policy for certain items.
function christmas_returns() {
global $...
1
vote
0
answers
32
views
Sorting Problem
I tried to change the Functions.php to this code
add_filter( 'terms_clauses', 'wpse247680_terms_clauses', 10, 3 );
function wpse247680_terms_clauses( $pieces, $taxonomies, $args ) {
// ...
0
votes
0
answers
52
views
Custom HTML/CSS Theme into Wordpress - SEO considerations
When creating a custom theme that serves all content through HTML/CSS, what is the best way to improve SEO?
I've created a WP theme using HTML/CSS and then adding the relevant PHP to allow WP to serve ...
-2
votes
1
answer
114
views
How can I use Advanced Custom Field Option page in CSS Wordpress
enter image description here
<?php
header("Content-type: text/css; charset: UTF-8"); //look carefully to this line
$primary_color = " get_field('primary_theme_color', 'option');&...
0
votes
1
answer
310
views
Can I upload my HTML/CSS/Javascript game onto a Wordpress page?
I've written a basketball simulator game in plain HTML/CSS/Javascript. I also have a Wordpress site. Can I upload my game, so my visitors can play it?
I know that if I had written my website from ...
1
vote
2
answers
594
views
Parse error: syntax error, unexpected '}' in
I'm fairly new at this, so please excuse my ignorance.
I'm trying to order my posts in the site's categories with a button, 'ascending' / 'descending'.
I'm trying to use 'sortit' function because that'...
0
votes
1
answer
56
views
Displaying images outside the content
I am trying to achieve to following design:
This is what I got so far:
I'd like to have the bottom images as in my design example.
This is, how my single.php looks like. I just can't find a solution ...
0
votes
0
answers
16
views
I have html form and need to make it work in text editor on template. Only problem is it has .sccs styling file
I have html form and need to make it work in text editor on template. Only problem is it has .sccs styling file because there is adjectance combinator. Code is in https://codepen.io/fede19/pen/zYZMbXB....
0
votes
2
answers
31
views
How can I get the search form to be selected automatically?
There is an icon to open the search form on my site, and when it is clicked, the search form opens in full screen. I want the search form to be selected automatically, how can I do that?
Here: https://...
0
votes
0
answers
18
views
Background image no longer fits to screen now that project is in php files
When my project was still coded as html files, the background images of my sections of my landing page fit the screen, but since changing it to php files to upload to wordpress these sections leave ...
0
votes
1
answer
254
views
How to hide "Shipping" label from Woocommerce cart page
I am trying to hide/unset Woocommerce "Shipping"label from the cart page in order to have more width for the shipping calculator. Is there any way to hide only the word "Shipping"...
0
votes
1
answer
96
views
Hide Tab Titles from Tabs Block
I have this Tab on my website-- https://prntscr.com/1zii0ab
On Mobile, I will like to hide the Titles of 3 of the Tabs, and on Tablet I will like to hide the Titles of 2 of the Tabs.
When I used ...
0
votes
2
answers
426
views
Wrapping a Sidebar within <div></div>
I ask if it is possible to wrap a specific sidebar within a <div class="customdiv"></div>.
Are there any instructions to add in the function.php file?
Thank you.
Like this:
I've ...
0
votes
1
answer
496
views
How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
How do I buid wordpress menu with auto width sub-menu items in dropdown menu without any sub-menu items sharing one line (appearing side by side).but with an automatic width for dropdown items that is ...
0
votes
0
answers
27
views
Add other class content with reference class value
Hello, in my Wordpress project I have reference values that I have enclosed in yellow and red lines using custom fields (can vary; orange, purple, etc.).
I want to print the same values in the other ...
0
votes
1
answer
49
views
Images under 1MB are not being compressed
Images that are above 1MB get automatically compressed on upload.
Images that are smaller than 1MB are added to the database in their raw form.
So, if someone uploaded a 900 KB image, the post will ...
0
votes
1
answer
272
views
Custom CSS Nav Menu Style Not Being Applied
I have created a plugin and custom CSS page to display a custom navigation menu on one page of my WordPress site. I am attempting to show the navigation menu using a Custom HTML block on the page of ...
0
votes
2
answers
635
views
inserting custom css, html and js into the current page as a popup window
I am new to wordpress development and I've read the documentation on how to do what I want to do but I can't find any decent answers.
I want to make a plugin that can show a popup window when someone ...
0
votes
1
answer
40
views
Where to add this code for a Modal box to work? [closed]
Hi im using WordPress and was given this code below to add to a website but unsure where I need to add it in order for it work as a Modal or if there is a plugin i can use to add this code. Any help ...
0
votes
0
answers
61
views
PHP function for horizontal Woocommerce thumbnails and badges
I am looking for a PHP-function which checks if the product thumbnail is a specific size (in this case horizontal layout). If so, it should display the Woocommerce-badges (New, Sale, Featured ...) on ...
0
votes
1
answer
18
views
removing side space between para and container on generatepress?
There’s space between paragraphs and container when I open my website on a mobile device only. I want to reduce that space, how can I do that on generatepress theme on WordPress. this is the space I’m ...
0
votes
1
answer
124
views
Overriding inline !important CSS with Javscript code snippet with media query
There's a piece of inline CSS code:
<style type="text/css" id="illdy-about-section-css">
#header.header-front-page {background-image: url(image.png) !important;}
#header....
0
votes
0
answers
22
views
Landing Page with HTML CSS JS and Images on wordpress
I have a portfolio site using wordpress and the Neve theme. I was wondering if I could add a sample landing page I built using Html CSS js and png images to a wordpress page so someone could easily ...
0
votes
0
answers
47
views
I can't go to the page archive-{post_type}.php
Is my custom post type on function.php
add_action('init', 'create_objects_type');
function create_objects_type() {
register_post_type('objects',
array(
'labels' => array(
...
0
votes
1
answer
3k
views
Wordpress footer always at the bottom of the screen-page
I'm having a problem in fixing the footer always to the bottom of the page, also when there is not enough content in the page to fill it.
I found a lot of similar questions online and all of them ...
0
votes
1
answer
664
views
How do I change the color of individual page titles in WordPress?
I am looking for custom CSS to add to my WordPress website to change the color of individual page titles. Does anyone know how to do this?
0
votes
1
answer
183
views
dynamic php menu with hidden sub-categories only showing when the category name is clicked
This is for a wordpress store and I want to show the categories names automatically, but with the sub-categories hidden, the code below works perfectly with the hover effect, now I wish to have the ...
1
vote
1
answer
28
views
How Display Posts on category
I had a problem, I converted an html template to wordpress, now I want a section Category Enable to display content using categories Does anyone know the solution and code?
iam use a code and not work ...
0
votes
0
answers
465
views
How to make wocommerce shop products same heigt
I'm trying to display the products with the same height at the shop page. I want the product image aligned at the top and the add to cart buttons aligned at the bottom.
What I have right naw:
What I'...
0
votes
1
answer
187
views
Wordpress login using a completely custom page and no plugins?
I'm trying to achieve having a completely custom WordPress login page, using a project from codepen. It's just html and css at the moment with input fields that don't really do anything, is there a ...
-1
votes
1
answer
40
views
I need css code to divide my webpage sections into two columns
<main>
<a href="blogslist.html">
<h2 class="section-heading">All Blogs</h2>
</a>
<section>
<div class="card&...
0
votes
0
answers
34
views
Help me I cannot link my font-awesome to my Wordpress Theme. I have my font-awesome folder already in my project
My Path: C:\Users.......\Desktop......\coding\font-awesome-4.7.0\css
my header code:
GTCoding
<div id="slideout-menu">
<ul>
<li&...
0
votes
0
answers
35
views
Drop down question
I am new to wordpress. Please pardon this question as it may seem mundane. How do I make a drop down menu for Information to the end-user in wordpress?
similar to this...
Thanks in advance...
0
votes
0
answers
19
views
WP Website is shown in HTML
I‘ve been experiencing quite a strange issue with my WP website since I’ve upgraded my WP to the version 5.4.2.
From time to time (it can occur to 2-3 times / week) my Website is displayed as html ...
0
votes
1
answer
446
views
Woocommerce doesn't work with theme, header missing and css messed up
Basically I'm trying to make woocommerce work with my theme.
Summary:
Header doesn't show up on product page and the css is kinda bad
I'm sorry if the post is long, when I ask something people ...