All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
757 views

Custom Post Type Archive Not Showing Posts

I'm trying to create a custom post type "Press" with an archive. I think I've done everything needed, yet when I go to /press url, no posts are showing up. I entered "test" in my archive-press.php, ...
0
votes
1answer
633 views

display custom media folders to wordpress media popup

I have plugin "Maxgalleria Media Library Plus" in my wordpress site, where I can organize my images in different folders.When I look via FTP, in the uploads directory there are all folders I have ...
0
votes
0answers
5 views

Trying to show the category of a post in the post display

I'm very new to coding so please bear with me. I am trying to show the categories of which my post came from on the post excerpt. I have added a photo to demonstrate what I mean: Here, the post "...
0
votes
1answer
45 views

WooCommerce REST API AJAX Auth - 401 response

I need to implement vuejs to load the categories of my store. I've read that the woocoomerce rest api need authenticate requets to work, so I'm trying to get the categories using oauth on localhost ...
0
votes
2answers
2k views

Issues after switching over to HTTPS

I've just added SSL on my site and a questionnaire I have running isn't formatting correctly on the HTTPS. This is being driven by Contact Form 7 plugin. It still works fine on the HTTP site. Edit: I'...
1
vote
1answer
586 views

template_include filter does not render the custom template

I created a plugin that will render a shortcode that is entered to a page. This Shortcode shall override the theme's page template and use the one that I included on the plugin Here's my code: api....
0
votes
0answers
7 views

Gutenberg get wp registered sidebars

In my template I have registered several sidebars with function register_sidebar(). Now I am looking for a way how to get list of all registered sidebars in Gutenberg. I was looking in documentation ...
-1
votes
0answers
7 views

Install Wordpress locally from Apache for Windows

Windows environment Installed Apache & PHP and configured. MySQL installed & Created DB and configured the DB details under wp-config.php for Wordpress. I am able to get the results when ...
0
votes
0answers
13 views

Wordpress REST API not returning the public data

I’m making a mobile application for wooCommerce store, and for that I want that people should be able to view my products, without logging in, like they do in my web. But when I make a request to get ...
0
votes
1answer
444 views

Get the selected option from drop down list

I created a dropdown list using data from the db to fill the options. This is working fine. Now I want to get the chosen value to select all posts with that value from the db. I have been searching ...
0
votes
1answer
18 views

Should I not compress my jpeg files before uploading to avoid double compression?

Wordpress compresses jpeg files to a lvl 82 quality. Should I upload my files in 100 quality to avoid double compression? Or will Wordpress know the file is already compressed and will skip this ...
-1
votes
0answers
9 views

looking for a wordpress-amazon affilate plugin - that includes reviews too - is this possible [closed]

i am looking for a wordpress-amazon affilate plugin - that includes reviews too - is this possible in other words: i need to port over from the amazon-page the reviews is this possible!? love to ...
-1
votes
0answers
10 views

I have a problem on finding the correct plugin [closed]

I can't seem to find a good plugin or a plugin at all to monetize videos on wordpress. Any suggestions? (I don't care if the answers are opinionated)
0
votes
1answer
608 views

Dividing the loop to style post differently

I'm using a plugin that displays post and shows them in a certain area on my site, such as the sidebar or anywhere i put the <?php;?> code, but only if the author that is writing the post clicks ...
2
votes
1answer
783 views

woocommerce featured products and categories

I am working with woocommerce at the minute, and the design requires to show a number of featured products and categories in a number of different styles. For example one featured product needs to ...
0
votes
1answer
17 views

Remove Category titles from individual posts on archive pages

I would like to remove the category title or tag from my individual posts on my archive pages. I have already succeeded in removing the tags from the homepage and archive page header but they still ...
0
votes
1answer
12 views

How to add extra custom social icons to page with same style?

I have been trying hard to add more social icons of same style as provided in the theme I purchased, but I couldn't understand how to do it. The theme provides only limited social icons as shown in ...
0
votes
1answer
2k views

pagination in woocommerce order history page

Please help me to add pagination in my order history page. Pagination should work like WooCommerce products page. Here is my code: <?php $customer_orders = get_posts( apply_filters( '...
0
votes
0answers
6 views

Is there a plugin to create the kind of slider gallery on stylistjbolin.com [closed]

i was wondering if there's any wordpress plugin that can create the kind of gallery slider on stylistjbolin.com or if there's a trick to achieving something like that. I have searched and searched the ...
2
votes
1answer
3k views

Remove Parent Category from Child Category URL

I am trying to remove parent category from the child category but each attempt returns a 404 error. Main Category Link (Displays All India Recruitment) Child Category Link (Displays Sub-Category) ...
1
vote
1answer
618 views

How to make my category archive behave like a page

I don't want to use the category page as usual (list of posts). I would like to add more content: text, images, columns. Which is the best solution? Maybe redirect from a category page to a page? Or ...
0
votes
2answers
677 views

Can I use a function to return HTML and the result of another function?

I have a very simple function to create a shortcode to get the name of my page. I was using this shortcode in a form, but WordPress changed the Shortcode API and that no longer works. So I was ...
0
votes
1answer
629 views

Create function in functions.php with hook name to execute URL

I'm trying to use WP Crontrol to run a cron job that executes 2 URLS: Cron job 1: exampleurl.com - once every 2 minutes Cron job 2: exampleurl2.com - once every 24 hours How can I right a function ...
0
votes
1answer
495 views

Admin: Get all user for Custom Role

I made a custom post type evenement with these capabilities. Here, I just put the capabilities parameters. 'capability_type' => 'evenement', 'map_meta_cap' => true, 'capabilities' => array( ...
0
votes
1answer
14 views

Change permalink structure in all sites of a multisite

How could to modify the permalink structure in all sites of the multisite at once?
1
vote
2answers
546 views

Additional custom header image

Has anyone seen a way to add a new header_image to a theme? I need to add two configurable images in a theme. It doesn't really matter if it gets added as a new "Header" admin theme menu or if it's ...
0
votes
1answer
12 views

Rename the label on a menu location which is already defined?

I have a menu location defined by a theme, I'd like to change the label from Header Menu to something else (but keeping all it's other settings as is), I can't find any suitable filters to do this ...
2
votes
1answer
672 views

How to get profile user id when uploading image via media uploader on profile page

I have a PlugIn which lets a user upload an image to a user profile in the backend. Now I want to access the user id in the uploader to change the filename of the uploaded image. On the user profile ...
0
votes
1answer
21 views

Video, embed, html block usage out of the_content

I have tried hundreds ways but i couldn't do yet. I am beginner, please someone help me ! When admin use for add/upload/embed video any 3 of these blocks; video, core-embed and html i will show the ...
0
votes
0answers
13 views

All in One SEO Pack - Description, keywords not displaying [closed]

I'm using the All-in-One SEO pack for the first time and I can't get the meta keywords or description to display. I originally had the same problem with the title tag, and I had to add a blank <...
0
votes
2answers
26 views

Need to edit themes HTML code

I am working on a small online shop and I am using Averta Phlox theme. As I encounter they have bug in a shopping cart. The cart do not work on mobile phones, as I can work a little fix for it using ...
0
votes
2answers
595 views

One custom post type with two different url structure base on taxonomy term

i have one cpt Anime and it has post_type taxonomy with term anime and animation anime(cpt): (site domain)/anime/post title | |-(tax)Anime |-(tax)Animation And my url structure are ...
1
vote
1answer
29 views

I made a website using WordPress, but the server is ColdFusion, how can I make it work?

I made a website using Wordpress, and when it came time to turn it live, I was told the site server uses Coldfusion. I don't know anything about it but they claim it wouldn't work. Is there anything I ...
0
votes
0answers
14 views

Multi select plugin options: Only one value is saved [duplicate]

At the moment I'm stuck with a multi select option for my plugin. I took one of my working select callbacks and added multiple="multiple" to it. Doesen't matter what I'm selecting only the option ...
-2
votes
0answers
12 views

How do I edit the Woocommerce Review Field Placeholder? [closed]

Okay here's my problem. I have a WordPress Site, Woocommerce is on it, I have products on there. All i want to do, is add placeholders into the input fields of the review forms. I don't want to add a ...
0
votes
0answers
11 views

The same session information for peer users on two different WordPress servers

The MultiSite feature of WordPress is very nice. But for different WordPress installations on different servers, I need something like this. When a user logs on site (A), if the same user has a ...
1
vote
1answer
538 views

How do you List all Sidebars in a Metabox

I know this question has been answered many times before, including here where i came from so it'll probably be real simple. I've registered my sidebars as normal function wmw_sidebars() { // ...
0
votes
0answers
9 views

How to add theme panel section to custom wordpress theme [closed]

How do you add the theme panel section in your site e.g like newspaper theme for quick edit of theme
1
vote
3answers
720 views

Google Analytics tracking code on just one page?

Having an issue where I have a client who wants his Google Analytics code on just one page. I'm using the following is_page code but in the footer.php of my child theme, but it's not appearing on the ...
1
vote
1answer
6k views

how to fix Warning: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP)

Warning: Use of undefined constant _ - assumed '_' (this will throw an Error in a future version of PHP) in D:\xampp\htdocs\keuangan_rs\aksi_konten.php on line 52 elseif($aksi=="edit" AND $_POST['...
0
votes
1answer
604 views

Only current gallery images with get_attached_media

On my page the gallery images are cycled and I would like to show their title as a caption. Since get_post_gallery_images only retrieves the thumbnail-url of the gallery images I have tried to use ...
0
votes
1answer
20 views

Continue or break the while loop

Im trying to figure out how to keep while loop going for posts on another section in bootstrap columns or is there way to "break it" and then keep it going where it remained? First picture shows the ...
2
votes
2answers
2k views

Change labels of custom post type via child theme

I have a WordPress parent theme that uses a custom post type called portfolio, which I'd like to change to property. I'd like to have all of the contextual elements changed to show property like, "...
0
votes
2answers
740 views

PHP Session Variable to WordPress Error

I have been trying to figure out how to add session variables to WordPress Custom Pages for the past few days but have still been unable to find a solution. From researching it seems WordPress does ...
-1
votes
2answers
834 views

How can I add a google play badge to my header and footer?

How I can add images or edit html for the header and footers within wordpress. I am looking in the header and footer sections under both "Theme Panel" and "Appearance" but can't figure out how to ...
0
votes
1answer
31 views

Manually create an order with a product ID woocommerce

I am working on a code to create a woocommerce order manually from a gravity form submission. I have 'custom notes' that I have managed to add to order notes BUT ideally it would be in a meta box ...
0
votes
1answer
506 views

Custom recurrence not working / Wp Cron event

I created a wp cron event with a custom interval of 5 minutes, but it is only executed hourly instead of every 5 minutes. (The callback is properly executed.) The DISABLE_WP_CRON constant is set to ...
-2
votes
1answer
17 views

Include customer details in woocommerce 3rd part plugin email

I'm using Woocommerce Simple auctions plugin. When an auction finishes the admin gets an email saying the following: The auction for (Auction name). Winning bid is R5,000. This is the code for that ...
0
votes
1answer
16 views

How to make sidebar float right and site content left

am trying to develop my own wordpress custom,am having problems trying to add a sidebar float left e.g something like Twenty Sixteen theme. please help am still learning. Thank you.
0
votes
1answer
570 views

Custom metabox does not store data

I'm troubled with a custom metabox, could someone give me a helping hand? I've got a custom post type which uses it, but unfortunately it's not storing the data into the database. Any clue? ...

15 30 50 per page
1 2 3 4 5 2020