All Questions

0
votes
0answers
12 views

Nginx reverse proxy to separate Wordpress server

I have a reverse proxy set up on nginx, which is working fine to redirect traffic to one html website internally. I decided to look into hosting my own Wordpress server for my blog. I have a VM ...
0
votes
0answers
25 views

Multiple values for one variable

I have a custom plugin that was written by someone, I can't reach anymore. It has a search option, that produces a table with seminars in different cities. Right now I can have a query with this ...
1
vote
3answers
23 views

How can I redirect my website's homepage to a random blog post?

I was trying to redirect my homepage to random blog post in WordPress. My aim is to redirect my viewers to random blog posts whenever they enter into my website. I couldn't find a proper solution, ...
0
votes
1answer
12 views

Posts, pages and some images are deleted sometimes

Hello I'm having trouble with this website https://borinqueneers.com/ sometimes it is broken and when I check from the WP Dashboard I notice all of the post and pages are in the trash also some images ...
1
vote
1answer
17 views

Checkout form looks terrible

Im currently building my first ever wordpress theme however the checkout form just looks messy. I have tried changing some bits around with css but It all just looks our of line. I have tried ...
0
votes
0answers
13 views

Home page on mobile version 2 column images

Good day, I have a question. What I am doing wrong? I need two colums on mobile version for the fruit boxes on home page. But it still one column. How I can change it? Site: https://entregasfrescas....
0
votes
1answer
28 views

Accidentally re-installed wordpress

Big mistake. I accidentally installed wordpress over an existing install. I know that my data is probably still in the database. I'm hosted on bluehost. What can I do to recover my instance?
0
votes
0answers
20 views

Autotrader API Integration

I am looking to pull in a feed of used cars from Autotrader. Has anyone had any luck with the Autotrader API Docs and integrating with WordPress? Their current API documentation is very vague - is ...
1
vote
0answers
21 views

Throttling email frequency

I have a jobs board site running wp job manager which is generally fairly low on email sendouts but occasionally an action will trigger several hundred recipients to have an email update regarding a ...
0
votes
0answers
17 views

IP detection for currency switching then user selection

I run an ecommerce platform which retails in 4 currencies (EUR, GBP, AUD, USD). I am currently using the pro version of Booster for Woocommerce to have a system where the user's IP is used to assign a ...
1
vote
1answer
18 views

Using $wpdb->update but confused on the WHERE in and SET

I'm confused on using the where in the $wpdb->update :/ These last few lines of my code are MEANT to update a table with an IP address when software is activated. If they change IPs it records the ...
0
votes
1answer
16 views

Using $wpdb | checking entered email against existing emails in db

Without ranting too much, here is my snippet: if (empty($_POST["email"])) { $emailErr = "Email is required"; } else { $email = test_input($_POST["email"]); // check if e-mail address is ...
0
votes
0answers
13 views

Displaying most viewed posts from last 7 days with views count via Wordpress rss feed

I need two feeds for my WP-website. One should be ordinary wp post feed< the other - must show most viewed post from last seven days with views count. I also want to show post views from WP-...
0
votes
0answers
14 views

User can hide post just for him

I have a RSS wordpress site so there are many new posts all the time in different categories. I would like a function so that users themselves can hide posts which they don't want to see again. So ...
0
votes
1answer
13 views

Thumbnail images missing in WP media library

I have built my own WordPress theme and applied it to my WordPress website. The issue I am having is out of the blue, the thumbnail images from the media gallery have stopped loading in and now just ...
0
votes
1answer
19 views

Archieve.php not loading for custom post type

I have a post with a category of blog . So i came across with this archieve.php , whereby we can edit the layout and content of a custom post type. From what I understand archieve.php contains the ...
0
votes
1answer
13 views

Redirect to another page after submission using wp_mail

I'm trying to redirect to user to another page after the form has been submitted using wp_mail. // Hooking up our functions to WordPress filters add_filter( 'wp_mail_from', 'wpb_sender_email' ); ...
0
votes
0answers
18 views

Encoding video without exec function

I use ffmpeg to encode videos that i upload to my website, it works fine but the problem is that it requires exec function on host enabled, my host provider says enabling this function is a security ...
0
votes
0answers
8 views

Members creating “small groups” --> “sport teams”

We have a sport association. To be part of the association, you need to register to our website (powered by wordpress). Every year we give a big sport event: members can partecipate in teams, playing ...
0
votes
1answer
13 views

Unable to declare AOS library in functions

Greeting WP Devs, I am planning to transfer the script libraries in my function.php . In my function.php I registered AOS function mypage() { if ( is_page( 'mypage' ) ) { wp_register_script( '...
0
votes
0answers
15 views

How do I add an admin table to my page?

I've added a new page to my admin area, and am now trying to add an admin table to this page (per these instructions). Per the instructions, I would like to first display just an empty table: simply ...
0
votes
0answers
11 views

Wordpress or Cherry Framework keeps reverting HTML changes

Has anybody else had this problem? We keep making changes to the social media banner on our website, but the changes revert after a few hours. If you had this problem, could you tell me how you ...
0
votes
0answers
9 views

reset password error message shows but user can log in

Users who have lost their password click on "lost password" which opens a box for their email address and for them to select "Get New Password". The an error message shows up "Sorry unrecognised ...
0
votes
1answer
11 views

Hook to display element as product on category page

I am creating a plugin and I am trying to add an element which will be displayed as a product. In the picture, the element is the red rectangle. I have used this guide but none of the hooks there ...
0
votes
0answers
15 views

How to use Gutenberg in CMB2?

I am not able to get the Gutenberg editor in CMB2 (repo). I have follow the comment mentioned on the example file but not working. I have set the 'mb_callback_args' => [ '...
-1
votes
1answer
25 views

Wordpress custom template database value insert issues. Please find the code if any issues let share [on hold]

<?php if(isset($_POST['suivant'])) { // create a variable //$seqno=$_POST['seqno']; global $wpdb; $firstname=$_POST['firname']; $lastname=$_POST['lasname']; //$...
0
votes
0answers
17 views

Wordpress Login redirects to wordpress.com

I've never seen this issue before and searched google to no avail. When I go to a WordPress login page for a domain hosted on our GoDaddy with Cpanel, the wp-login page redirects me to a WordPress....
0
votes
0answers
18 views

How to prevent duplicate value to store in database being submitted cf7? [on hold]

I am using cf7 5.1.1 I am saving form data in DB by using Advanced CF7 DB. And I see all the submitted data in DB. To avoid duplicate data entry I tried cf7 validation hook. It didn't work. How can I ...
-1
votes
0answers
12 views

Seeing if there is a plugin/plugins that can help me with a project [on hold]

I have a project at work that we have won. Unfortunately I did not have any part in the quoting phase, so A LOT of questions are unanswered. However, we are looking to build a system kind of like ...
0
votes
0answers
14 views

How to move woocommerce form fields to right side

I am working on wordpress Woocommerce. Form fields is showing on left side and text on right side. I want to display form field on right side. Even when i remove text from side form field is still ...
0
votes
0answers
17 views

How to add dynamic links to the Gutenberg edit post UI?

I want to add some dynamic links that are being generated from a PHP file inside of the Gutenberg edit post header area: Specifically, to the left of the "Switch to Draft" text. I currently have it ...
0
votes
0answers
11 views

Woocommerce: How can I protect a Virtual Product without coding? (A plugin maybe?) [on hold]

My customer sells a virtual magazine which is a product made with a flipbook Software. It delivers an HTML project with all the files inside, which you can put on your web server to be shared. But, ...
0
votes
0answers
4 views

Restrict upload size (storage) by membership status

Is there a way, a plugin, to restrict some members in MemberPress to upload a certain amount of Mbytes? Thanks alot! neuhaus3000
2
votes
2answers
38 views

Load CSS/Javascript in frontend conditionally if block is used

Assuming I have no infinite scroll or anything else going on in my theme: Is there a way to enqueue my custom Gutenberg block styles and scripts so they are only (lazy) loaded in the front-end when ...
0
votes
0answers
5 views

Is it possible to clone an element and link the styles of both together via a visual editor?

I'm building a site with Beaver Builder. I've got a grid with 3 rows and 5 columns. I've got three pages with a grid like this. (So that's 3 rows x 5 columns x 3 pages = 45 unique cells total). ...
0
votes
1answer
22 views

Custom taxonomy.php not working

I have created a custom taxonomy called "series" (code below) and two pages: taxonomy.php and a taxonomy-series.php 1)I noticed that siteurl.com/series does not work I get my 404 page, but if I were ...
0
votes
1answer
11 views

Issues Installing WP CLI

I'm trying to install wp-cli on my vps. Running the command php wp-cli.phar --info produces no output. Just to make sure php was working properly I ran a Hello World script with php test.php and ...
0
votes
1answer
11 views

Adding a widget under an 'Add to Cart' button through a PHP snippet

Despite that my PHP knowledge is very scarce I've managed to add some elements under the add-to-cart button in my installation of Woocommerce with the function: add_action( '...
0
votes
1answer
34 views

disallow publish posts with special title

I want to disallow some titles on wordpress and avoid publishing these posts. example : "title : last news 8 hours ago" When this sentence is in the post title, I want disallow publish the post. ...
0
votes
1answer
21 views

featured image metabox not moving custom post type

I am working on theme development and I have to move my featured image metabox so that it is more user friendly. I searched for move featured image metabox. Thanks Allah for I have found the ...
0
votes
0answers
24 views

How to get stats_get_csv for yesterday only

I'm looking to get Jetpack stats for yesterday, but am having trouble figuring out how to get yesterday from stats_get_csv. stats_get_csv has two seemingly relevant parameters, "days" which says how ...
0
votes
1answer
23 views

Share functions between admin and frontend

I'm new to OOPs. I'm building a Plugin and I started with the "Wordpress Plugin Boilerplate with Namespace and AutoLoader Support." I've even successfully added a section for a RESTful interface that ...
0
votes
1answer
35 views

what is the purpose of the namespace argument when customizing blocks?

I'm trying to customize the Gallery block using the new Gutenberk Block API thing. Long story short, I need to add a filter to do the customization. So what is the purpose of the namespace argument ...
0
votes
1answer
9 views

How to set a contact forms total size limit

I have a client who wants to be able to upload either one 30MB image, or several smaller images, which in total amounts to 30MB. Is there a way to solve this for Contact Form 7 or any other forms ...
0
votes
1answer
12 views

How to check if a Customizer setting is set?

I'm trying to setup a function that writes a meta tag into the header of my site. Namely, I've set up a color chooser input like this: function customizer_options($wp_customize) { $wp_customize ...
0
votes
1answer
26 views

How to add “get_theme_mod” inside a shortcode?

I want to make dynamic the content inside a shortcode so I can modify it in the customizer. I created the customizer tabs. Now, I want to create a shortcode to place it anywhere in the page while ...
0
votes
0answers
23 views

Custom Post Type - Display all, wrap in groups of 3

I've got a custom post type for staff members in a project I'm working on. I want to display all staff members in a slider, with groups of 3 rotating. I need my listing to end up looking like this, ...
1
vote
1answer
21 views

Edit css for search results page

I have a search results page with a template call content-search.php. Basically what this file does is to display the results after a person searches something on the search bar, and i would like to ...
0
votes
0answers
20 views

How to get the text from PDF, doc and txt file

I've a custom post type called "Document" in my wordpress project which allow users to upload a PDF (.pdf), Word (.doc, .docx) and text (.txt) file. Once the user upload the file, some text of the ...
0
votes
1answer
17 views

Old site posts broken after domain update

I recently updated to a different domain on my wordpress blog. Unfortunately, all my old posts are now broken and I've tried everything. I've ran the search and replace tool for old references and ...

15 30 50 per page