Skip to main content

Unanswered Questions

2,201 questions with no upvoted or accepted answers
2 votes
0 answers
566 views

Gutenberg: How to mix dynamic and static output?

Gutenbergs handbook (https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/) suggests to return null in the save() function for dynamic blocks. But what if I only want parts of my ...
2 votes
0 answers
44 views

Is there a reliable way to keep track of how long a WordPress theme has been active?

I want to keep track of how long a specific WordPress theme has been active, not just installed. The end goal being I want to display a notice after a user has created x number of posts and the theme ...
2 votes
1 answer
671 views

Adding code to child theme functions.php to override parent theme behaviour doesn't work

I am trying to override some behaviour in a parent theme (Blackoot Lite) and used this StackOverflow question as a guide. My goals are twofold—I want to unregister a default sidebar in the ...
2 votes
0 answers
403 views

removing custom tax & CPT slug, adding taxonomy term in front of custom type

I am having difficulties setting up the following structure in Wordpress: site.com/custom-taxonomy-phase-term/ (taxonomy page but without the taxonomy slug) site.com/custom-taxonomy-phase-term/...
2 votes
1 answer
29 views

I am trying to output portfolio items with a picture. This code doesn't seem to be working. What am I doing wrong?

<?php $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query('showposts=21&post_type=portfolio'.'&paged='.$paged); $count = 0; while ($wp_query-&...
2 votes
1 answer
590 views

Work flow for multiple developers

I'm looking to streamline the development work flow for a new project that will have multiple developers involved (backend and frontend). My biggest quandary is how best to make sure all devs have ...
2 votes
1 answer
130 views

Convert a complex webpage into WP theme

I am new to the whole WP theme development, but I have undertaken a couple of courses and watched a few tutorials on how to convert HTML/PHP pages into a wordpress theme. However, every single ...
2 votes
0 answers
598 views

Custom column sorting in WordPress admin post table

I have made a custom column in user administration panel showing user meta data and registered it as sortable. Made a query action to sort it by the meta numerical value (the stored user meta data is ...
2 votes
0 answers
207 views

Unique User Account Number + Displayed Via Shortcode

I've seen a couple articles on creating unique account numbers for users: https://stackoverflow.com/questions/37693209/create-unique-account-number-for-every-user-that-registers-to-the-system-using-w ...
2 votes
0 answers
4k views

Add attribute / custom attribute to product in woocommerce

I have products from some API and want to insert these products. I was able to insert products and use already existing attributes ( or added by UI ). Adding new term (My Color) to the existing ...
2 votes
1 answer
614 views

How do you manage your theme versions when privately distributing?

I'm working on a theme that I don't want to be public or available via the default WordPress directory, as it's going to be a framework that we use to develop a variety of websites we host. Now, I ...
2 votes
0 answers
221 views

add_rewrite_rule won't work

I did it in the past and it did work. But this time it won't work and I can't figure out why. The difference is the version of Wordpress and the version of WPML. So, I have the latest version of both:...
2 votes
0 answers
53 views

How to stop unlink images when remove a site or user

What's the best way to prevent images deleting?. I have a central cdn site to share images to several sites on wordpress multisite, and by mistake, I have remove a user from the network and all my ...
2 votes
1 answer
204 views

Problem in theme installing?

I am trying to install a downloaded theme in .zip format, on my Ubuntu OS when i click on upload & try to install it, it shows the error: Are you sure you want to do this? Please try again. ...
2 votes
0 answers
2k views

redirect product-category to a custom page

I hope you can help me. I've made one page for each woocommerce category I have in my store with a specific design. The problem is that when you click on the link of the product-category to which a ...

15 30 50 per page