All Questions

0
votes
0answers
2 views

Create Woocommerce cart with number of products

How to create something like this?
0
votes
0answers
4 views

I want to build fully wordpress directory mobile app

I want to build fully supported multisite sub domain wordpress directory multilanguage, multicountry, woocommerce mobile apps for ios and android, how to build and what resorces required to build ...
1
vote
1answer
7 views

Stuck with wp_remote_post sending data to an external api on user registration

I am trying to create a basic plugin to send user details to a CRM when a user signs up on the WordPress website as a basic subscriber. I have reached a sticking point, I have tried to interpret the ...
0
votes
1answer
11 views

Custom post type archive sorted and grouped by date in post meta field

I am trying to build an Custom Post Type for showing information about events. The Custom Post Type has name 'Event', with the following meta fields: event_startdate (date in format YYYY-MM-DD) ...
0
votes
2answers
11 views

front page redirects to non excisting page

My landingpage shows a 404 error in the Network tab in the Chrome DevTools. It automatically redirects from / to the page /startseite. There shouldn't be a page with the permalink /startseite. In ...
0
votes
0answers
7 views

Getting static data in forms [on hold]

can anyone explain me...Is there anyway we can get the static fields on page[like title or category] in the form fields on click?
0
votes
0answers
5 views

Disable automatic embedding of copy pasted images

My frontend forum editor uses tinyMCE. When someone copies an image from an external website (by directly copying the image itself, not the URL) and pastes it into the editor, it automatically gets ...
0
votes
0answers
7 views

Install Wordpress got dashboard panel css broken

When I install wordpress as instructed , i find out that the main theme of the wordpress is broken as follows. Would you please tell me what to fix ? When I scroll to the bottom, it says : Session ...
0
votes
1answer
18 views

How to get current_user_id from wordpress in node js?

There is a website on wordpress, in the plugins folder I have a project on Node js. In index.html (the client part, mostly js there), there is content that I have to show only to registered users. I ...
0
votes
0answers
12 views

Add fields to edit in custom widget

I'm coding my first theme. I want to have class event editable in Admin Panel as a widget. I don't know how to declare this widget in functions.php to keep my hierarchy and class names. <div class=...
0
votes
0answers
8 views

High load and resources limited reached erorr 508 [on hold]

My WordPress site always failed and reload only after change version of php and reset it And the speed of loading page remain 40 sec I can't understand any thing in erorr log Can any one help me ...
0
votes
1answer
11 views

Display sub-taxonomies based on SELECTED parent-taxonomy

I have two drop downs. The first one contains list of parent taxonomies from a custom post type. And the second one contains all the sub-taxonomies at a time. But I'm trying to display only those sub-...
1
vote
1answer
10 views

How to display the link (title) and thumbnail post?

I found this related post code here, but the code calling it is incomplete, it only shows the article title. How do I make the links and thumbnails appear? I really hope someone helps, because this ...
2
votes
1answer
89 views

How to replace any occurence of Gravatars with a local placeholder image?

Users can upload an avatar as a local image file on my website. If they didn't do so, it will fall back to the WordPress default (Gravatar). But I want any occurrence of Gravatar to be replaced with a ...
-1
votes
1answer
20 views

is it possible to keep the custom posts even users deleted from the frontend? Is there any code for function.php?

Is it possible to keep the custom posts even users deleted from the frontend? Is there any code for function.php? I want to keep the properties listings even the users from the dashboard (frontend) ...
0
votes
3answers
25 views

Is there a way to get wp_editor (tinymce) content?

I want to get the wp_editor (tinymce) content then find a sentence by specific word with regex. However, have no idea how to get the content When a post is published or updated, the function will get ...
0
votes
0answers
16 views

How can I ascertain that my previously hacked WordPress site are now free of malicious code? [duplicate]

I am almost certain that someone cracked my FTP password using Bruteforce attacks. After that, they injected malicious code in my 3 different websites. Two are hosted on WordPress and one is entirely ...
0
votes
0answers
20 views

What is the best solution for woocommerce multi store? [on hold]

I've three different stores and I want to create a new store on new WordPress installation. My purpose is to manage the orders (from my three websites) from one dashboard, and make some offers at the ...
0
votes
1answer
15 views

How to align buttons properly

I am using below code on my function.php file to display two buttons. function action_after_question_content() { if (!is_single()) { echo "<a class='button-default' href='"....
0
votes
1answer
13 views

Post page still linked to old site

Wife transferred her domain from Godaddy to HostGator. Somehow the Post page is still linked to the old site. I say old site because she started fresh on the site only wanting the domain. Her domain ...
0
votes
1answer
13 views

Removing auto versioning of JS and loading to header

I want to remove the JS I added and gets versioned by wp. I have a js script called base.js, and wordpress loads that by itself like <script type="text/javascript" src="../base.js?ver=4.9.9">&...
0
votes
0answers
17 views

How do I allow any logged in user to add/edit categories or tags of any/all posts?

I don't want users editing content, only the categories and tags. How would I go about coding it?
1
vote
2answers
33 views

Migration / convert an existing site to WordPress

I have an advertisement site that I create with PHP and MySQL. The structure of the database is very simple: Tables: ads, type of ads, user, and images. Each ad has an ad type (offer or request) An ...
0
votes
0answers
11 views

Using walker to display all menu branches at once?

So i have need to get all submenus displayed at once on site and could use little help to customising walker for task. Menu displayed like this: menuitem1 menuitem2 menuitem3 menuitem4 sub1.1 ...
0
votes
0answers
18 views

How to prevent the editor from redirecting to website within iframe?

I have been trying to embed a website into a private page, and have tried out the "embed" and "iframe" tags, but as soon as I update the changes it redirects to the embedded site. I read more about ...
0
votes
0answers
18 views

wordpress sql query pagination

for example, I want to Page the remaining comments after calling 50 comments. the page where I call the function <ul class="list-group"> <h2 class="h3">gündem <div class="...
0
votes
0answers
9 views

Create navigation that changes depending on how you get to a single page?

I'm trying to make conditional navigation along the lines of "if a user goes into the tag "foo" make sure the navigation once in the single page only goes back and forth in the "foo" tags. But if the ...
1
vote
1answer
14 views

Custom meta box not saving

I've created a custom meta box for a custom theme. The metabox appears but does not save any inputed values <?php /* @ PACKAGE 3KTECHS THEME ========================= CUSTOM POST TYPE PAGE =======...
0
votes
1answer
15 views

woocommerce_order_status_completed Not being called

I have developed a custom plugin that is overall working great. No errors by WP or SQL problems as it access a custom database. BUT, for the life of me, I can not get the woocommerce call back to ...
0
votes
2answers
20 views

Disable WordPress Archive Conflict Check

I want to have numerical slugs in WordPress for pages but WordPress doesn't allow this by default in an attempt to preserve the slugs for use by chronological archives. The wp_unique_post_slug ...
0
votes
0answers
13 views

Mixed language in admin backend

I’m running WordPress in French and some words in admin backend are still showing in english ! Like “users” and “dashboard” and many more. What I did : – Switched to twenty seventeen theme – ...
0
votes
0answers
12 views

Admin table Query filtering “WHERE” for custom post type

So I have been searching for a solution on how I can dynamically change a CPT admin table query by filter the result WHERE Status is equaled to some custom status. I have searched using function ...
0
votes
1answer
17 views

TTFB is too slow in back-end

the following picture is my TTFB screenshot. it`s very slow, so my website back-end is very slow !! https://upload.cc/i1/2019/02/16/xy1k9f.jpg https://upload.cc/i1/2019/02/16/R987jH.jpg How can I ...
0
votes
0answers
11 views

Can the WooCommerce image sizes be removed?

Is it safe to remove_image_size() on WooCommerce's built-in image sizes (woocommerce_thumbnail, woocommerce_single, woocommerce_gallery_thumbnail, shop_catalog, shop_single, shop_thumbnail)? I'd like ...
1
vote
1answer
13 views

“Categories” on my front page

I just switched to Wordpress and i want to delete (or hide) the "Categories" section that comes up in my main page. is it possible? Thank you
0
votes
0answers
11 views

Add second featured image to a custom post type without plugin

I want to show on hover a different featured image for some wordpress custom post type. I don't want to use a plugin, this because I want to learn how to use the wp API natively. Is there a way to ...
0
votes
1answer
19 views

Batch Extract Date from post title and put into ACF custom field

I have a custom post type called 'events' with around 700 posts, the titles are consistently formatted like this: Event Title - January 1st 2019 I need to isolate the date in another field. I am ...
0
votes
1answer
23 views

Wordpress “add to menu” button not working

I moved my WordPress installations from my old server to a new one. I copied all databases..etc and things seem to be working fine. (I have already migrated servers before, so I guess I know how to do ...
0
votes
0answers
15 views

How to change text in Password protected Page using add_filter function

I want to change text in my theme .po file. I found this function named filter hook and I included it into my functions.php in my theme. https://codex.wordpress.org/Using_Password_Protection#...
-1
votes
0answers
12 views

When i hit my website url, one file is downloaded instead of opening my website? [on hold]

When i hit my website url, one file is downloaded instead of opening my website? Please suggest me how it can work again?
0
votes
0answers
13 views

personal_options_update hook not updating data if it contains “&”

On 'Edit Profile' page I'm trying to update user selected custom taxonomy and it works just fine but it's not updating any taxonomy which name contains "&" symbol. For example I have taxonomy ...
0
votes
0answers
6 views

Woocommerce caterogies show next category

I have 2 categories level for 1 product : House Room When I click on House caterogy, page display all products from House. I want when click on House, to display all caterogies of House Room, and ...
0
votes
0answers
7 views

Disable, hide or remove IOS native select/drop down menu - Using select2

I have initialised select2 and done some styling which works fine on FF, Chrome, IE on PC and android... It also works on IOS, but when I click or touch the categories to launch the drop down / select ...
0
votes
0answers
8 views

Old post wanting to publish via rss

We want to post old posts to our LinkedIn page (and instagram). They are already posted on twitter and FB. The way we have done it is to try and post the rss feed from our wordpress site but this ...
0
votes
1answer
10 views

Hide prices from certain category in woocommerce

I have next code: add_action('init', 'bbloomer_hide_price_add_cart_not_logged_in'); function bbloomer_hide_price_add_cart_not_logged_in() { if (!is_user_logged_in()) { remove_action('...
0
votes
2answers
15 views

Gutenberg Block checkbox check-unckeck does not work

I have added the custom Gutenberg block for my shortcode, but in checkbox control check uncheck does not work, please check code done as below: el( components.CheckboxControl, { label: i18n.__( '...
0
votes
1answer
15 views

Display category names on edit user profile using $wpdb

On the 'Edit Profile' page I'm trying to loop through all the category names using $wpdb. Here is my code <?php function custom_user_profile_fields($profileuser) { ?> <h1>Select a ...
4
votes
2answers
49 views

How to know if get_posts() failed?

So I see that get_posts() function return an array of posts. If there are posts, it returns an array of posts. If there are no posts it returns an empty array(). If there are posts, but the querying ...
0
votes
1answer
12 views

Facebook video on a post appears in a strange language [on hold]

I don't know why it happens but, when I copy and paste a Facebook video URL inside my blog post, the language switch into Hindi or Indonesian (I don't really know) https://prnt.sc/mlu83q https://prnt....
-1
votes
1answer
17 views

Feed RSS problem on Wordpress, need it for Google News

I need my feed to work, but i have problem with feed validator, that send me out this message https://www.rnbjunk.com/feed/ It looks like this is a web page, not a feed. I looked for a feed ...

15 30 50 per page