All Questions

0
votes
0answers
3 views

WordPress wp_get_current_user returning blank values until refresh

I'm developing a site in WordPress and creating my own theme. As part of the theme, I have a custom user login. When a user logs in, the form action directs back to itself and in the header of the ...
0
votes
0answers
3 views

How can I allow password reset based on logins containing the @ character?

I'm working on a setup where user logins have to follow this format : login : user-john@doe.com Even though Wordpress has no problem creating such accounts, it seems they don't play well with ...
0
votes
0answers
9 views

Target specific position for custom content

I have needed to display custom content (a post of a specific category) in a specific place inside a page. I know how to create custom hook to target the desired location, but since I'm generating ...
0
votes
0answers
13 views

Lazy loading with pagination error

hello I was implementing lazy loading in WordPress through pagination it works fine but it repeats the data when I scroll down for example, if the expected results are 4 posts only and I scrolled ...
0
votes
0answers
16 views

Delete posts at a specific time of day

my site uses custom posts for events. The event post is deleted daily on the day of the event. I would like to slightly alter the deletion of the events to be the day of the event but in the evening. ...
0
votes
0answers
8 views

Display archive posts from specific category on custom template page

I want to show yearly archives based on categories. But it shows all archives when I click on specific category. Can anyone help me please.
0
votes
1answer
15 views

How to use alternate post layout at key points in post loop?

How can I intervene in my post loop output to show 3 posts in alternate mark-up, and then resume? I have a post loop that calls my post card template fragment, card-pair_top.php, to display like this....
0
votes
1answer
8 views

How to stop subdirectory wordpress install adding head elemets to entire site?

I am working on a static website, www.example.com and have installed wordpress in a subdirectory: www.example.com/blog. I have created a custom elemnt on the home page which pulls in the latest blog....
-1
votes
0answers
11 views

Wordpress theme similar to Airbnb [on hold]

I want to build a website in wordpress that has similar functionalities to airbnb (availabilities, bookings, direct messaging, commision for each transaction done between the users). Is there a ...
0
votes
0answers
9 views

WPGlobus Multilingual - REST API

I'm using WPGlobus plugin with REST API, For fetching data from posts now if I fetching content of pages it shows me like, "content": "{:nl}De korting wordt automatisch berekend aan de hand van o.a. ...
0
votes
0answers
9 views

My website is translated automatically to stars when accessed from different country

My website (specifically digits and codes in post detail pages) is translated automatically to some other language when accessed from different language countries and makes digit into stars and my ...
0
votes
1answer
21 views

Extend Woocommerce rest api routes fails

While I'm trying to extend Woocommerce Rest-API routes with a custom one I face the following problem. I have the following class which tries to hook inside Woocommerce API class API_LOADER { ...
0
votes
0answers
6 views

Woocommerce product variation links

When a user selects a different color on the product page, I want to open that specific product in that selected color directly instead of just changing the featured image. This Plugin is doing ...
0
votes
1answer
14 views

How to display LinkedIn feed/company updates into WordPress site?

I've been using LinkedIn Company Updates plugin for over 2 years to display linkedin feeds into wordpress site. But it's not working anymore. I've been trying over a week now to find a way to solve ...
0
votes
2answers
23 views

FTP + Unable to locate WordPress content directory (wp-content)

When I try to upload a theme in my Wordpress website I need to fill in FTP credentials. I've installed vsftpd on my Ubuntu 18.04 server. When I connect with the credentials in my FTP client (ex. ...
0
votes
0answers
9 views

UI built by Visual Composer are broken [on hold]

I developed a website in Wordpress using Visual Composer. The website looks good in local environment & the first day in test environment. But the second day, every elements in website turn to 1 ...
0
votes
1answer
27 views

Run a code only on theme activation only during first activation

function clearwidgets(){ //stuff here only runs once, when the theme is activated for the 1st time } register_activation_hook(__FILE__, 'clearwidgets'); And the code I am trying to execute is this:...
0
votes
0answers
23 views

How to show custom post count in archive page

I want to show custom post count of taxonomies in archive page..not all custom post counts of taxonomy, i just want to show videos custom post count. because taxonomies have two custom post type. ...
0
votes
1answer
15 views

Woocommerce Stock Quantity for Sale [on hold]

Is it possible to set sale quantity for product? I got 100 product quantity but want to set a sale price only for 20 quantity only, after 20 is sold out then price back to normal price. cheers, thank ...
0
votes
3answers
17 views

Increase .htaccess file upload without prompting error

I have a Centos Web Panel hosting and a new WordPress file. I wanted to migrate all of my local WordPress files to the live server so I installed All-in-one WP Migration. Unfortunately it can only ...
0
votes
1answer
10 views

How can I post exact same post but with a few things changed? (with some sort of Automation)

I wanna duplicate some of my posts but want to change a few variables. For example, I would just like to make some variable in my posts that will be changed every time I give inputs. These can be ...
0
votes
0answers
13 views

Submission issue with Contact Form 7 plugin – No mail / URL redirect

I am trying to integrate CF7 into a site as I have done many times before. For some reason this time instead of submitting email the form is refreshing the page with a new URL that begins as follows: ...
0
votes
1answer
20 views

Shortcode Attribute not defined

I have a shortcode [gf_popup pause="1000" location="bottom"] and the location attribute keeps coming back as Uncaught ReferenceError: bottom is not defined. Any thoughts on why? Here is the main ...
0
votes
0answers
10 views

How can I secure my custom rest api endpoint or add under a already existing rest group

Creating a custom REST Endpoint I search a way to secure the route with JWT or integrate my endpoint under Woocommerce rest routes which already has an authentication logic. The perfect solution for ...
0
votes
1answer
19 views

Posts not showing per category after WP_Query?

I have a Query that goes in and should list all the categories for a post type and loop through and display all the posts within that category but I can't get it to work, it shows the posts in a ...
0
votes
0answers
19 views

Combine custom post loops to display all on one page

My site contains posts separated into 6 categories. Each category has it's own page with a custom loop on each page displaying posts from the respective category. I would like to consolidate all ...
0
votes
0answers
7 views

Trouble running signature script

I am creating a document on my website which requires a customers signature. I have taken the signature element from https://codepen.io/nonsalant/pen/JYpjvE I have made some slight changes as I dont ...
0
votes
0answers
11 views

Wordpress css menu MOBILE

Menu Mobile not open submenu wordpress. Think there is a mistake in us CSS PHP CODE: <li class="list-open"> <?php wp_nav_menu( array( 'menu_class' => 'mobile-list', '...
0
votes
1answer
9 views

How can customized CSS on WordPress highlight the blog title in white when it's not intended?

I put some additional CSS to my WordPress, and it affected the main page in a way that I didn't intend. The below is all the CSS code that I added, h1 { padding: 0.5em;/*文字周りの余白*/ color: #...
0
votes
1answer
11 views

Image doesn't show up using get_the_post_thumbnail_url();

I have a simple question. My wordpress theme has 2 pages: index.php and single.php. I've used the same code, but I had different results. single.php <?php while(have_posts()) { the_post(); ?...
0
votes
0answers
11 views

Create a simple customer choice page?

I need to create my own website with a special page where the customer can choose the building materials for a house, everything has to be visual, so the customer can select the type or color of the ...
0
votes
0answers
13 views

How does one make a URL return dynamic JSON with custom Content Type?

Some background first, I'm trying to follow the directions here: https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html#//apple_ref/doc/uid/...
0
votes
0answers
5 views

Woocommerce grouping cross-sell product by category

I'm looking for a solution to this problem. I have Woocommerce eshop (in development) and on Cart page I have cross-sell box. My idea is grouping cross-sell products by Category. Category name in a ...
0
votes
0answers
11 views

Show Up-Sells and Cross-Sells in a product page

I come to you because I have been trying to show the up sells and the cross sells on the product page, so far I have achieved it but it looks ugly and I need to move the product description tabs to ...
0
votes
0answers
15 views

custom meta_box doesn't display in custom widget

I have some meta_box that display on single page correctly but when I use custom widget to display different category's posts,the meta_box doesn't display in main page. in below code I expect display ...
0
votes
0answers
13 views

Some 404s are being redirected and I don't know why

https://vpninfo.dk/asada/expressvpn/ redirects to https://vpninfo.dk/vpn/expressvpn/ and I have no idea why. I've already tried disabling all plugins and deleting cache but it keeps happening. Support ...
0
votes
0answers
16 views

How can I add a woocommerce bookable product form to a page (other than woocommerce product page)?

Currently our website has only one price for a given service. Now we are adding kids prices by woo-commerce bookings plugin. I want users to select the Number of Adults and kids and date of the tour ...
-1
votes
0answers
9 views

How to change worspress file permissions on localhost? [on hold]

Don't appear media labrary image in wordpress.so I want to change file permissions on localhost.
-1
votes
1answer
12 views

Reset Password - change from name and email address. It stucks at admin. Want to change it to info

At the admin dashboard of my wordpress under wordpress settings > general my admin email is set as info@mydomain.com Here is my issue. When a customer wants to reset her or his password automated ...
0
votes
0answers
14 views

Compressing thumbnails

I am in the process of setting up a new site, and I would really avoid using plugins more then necessary. My problem now are media sizes. I am alsways compressing the images I upload beforehand, but ...
-1
votes
1answer
15 views

query using wpdb in wordpress gets me no result

I get no result unless i cut the string title to "Gocomma 10W QI Wireless Fast Charger Car Mount Holder " ... $title1="Gocomma 10W QI Wireless Fast Charger Car Mount Holder - 2pcs (it)"; $...
0
votes
0answers
7 views

Upsell product as category - Exclude some categories

Greatings, I've reached what i needed to do - Is replace Upsell products with Category insteed of taking time to add upsells i just maded auto from category. But i've reached the end of the road. I ...
0
votes
1answer
27 views

Collect all events in one year

Hello can you help me I can't do this: 2018 event 1 event 2 My current output: 2018 event 1 2018 event 2 I want do this without GROUP_CONCAT() ...
1
vote
1answer
29 views

Any action in wordpress redirects me to home page

After transferring my website from localhost on my host server and changing the theme to a newer one. Performing any action including saving settings, installing plugin, saving plugins settings ...
0
votes
1answer
22 views

Fix wp_term_relationships slow query in get_posts

I used the Query Monitor plugin to find slow query on my WordPress site. The below-mentioned WP_Query->get_posts() takes about 0.3446 query time out of the total Database Query time of 0.3976. ...
0
votes
2answers
16 views

Make the checkbox meta field checked by default

I have created a page for plugin. For that page i have added a checkbox meta field. The field is working fine. By default, the checkbox field is unchecked. I mean at first to active the plugin, the ...
0
votes
0answers
9 views

show just subcategory array

Looking to see if I can modify the below coding to pull just the category information. Currently at the category level it will pull all the products. Is it possible to just pull the subcategories ...
0
votes
0answers
10 views

Working with AWS hosting

I want to migrate a magento website to woocommerce website. The website is hosted on AWS. I am working first time with AWS. Now I have to install wordpress in sub directory of magento. I want to know ...
0
votes
0answers
7 views

Search bar looks different in different pages

I have a website: cygnusi.com. The search bar in the Discussion page looks different from the search bar in the Projects and Members page. How do I fix this? PS yes, I use bbpress and buddypress
0
votes
0answers
4 views

Google Currency Converter [on hold]

How do I make this currency converter work? By the means of the Google API function convertCurrency($amount, $from, $to){ $data = file_get_contents("https://www.google.com/finance/converter?a=$...

15 30 50 per page