Unanswered Questions
834 questions with no answers
4
votes
0
answers
76
views
Using Primary Color in Plugin Block
I'm developing a Gutenberg block, and I want the block to fit in as nicely as possible with the users site. So I'm trying to include as little styling of my own as possible, eg. allowing buttons to ...
3
votes
0
answers
279
views
Migrating October CMS to Wordpress
I've done a lot of research on this and cant figure out what option is the best and quickest to take.
We currently have our website on October CMS and are looking to move it over to Wordpress.
Has ...
3
votes
0
answers
1k
views
Add Product categories to Wordpress menu without losing hierarchy
I need to add product categories to Wordpress menu, but when I'm doing this with WP interface it lose the hierarchy
I tried with WP-CLI, but there is no method to specify wich item is the child.
...
3
votes
0
answers
265
views
Change Theme from Plugin based on query_vars
I'm working from about 4 months on developing a Plugin.
This plugin make in a page an entire app, using the powerful of Wordpress.
So, I've decided to create a serires of rewrite rules using command ...
3
votes
0
answers
1k
views
Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
I have 8 custom post types (which are actually for 8 different blogs and used as "blog landing pages"). Each custom post type is also a Blog Category and each has several sub categories to it. For ...
3
votes
0
answers
1k
views
How to add ID and class in nav menu walker?
I would like to set up a custom walker that produces the following output:
<div id="navbarHolder">
<div id="navbar">
<ul>
<li><a id="nav_about" ...
3
votes
0
answers
1k
views
wp_nav_menu custom walker - child items
I have written a custom walker to integrate a jQuery drop-down nav script into my WordPress template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the ...
2
votes
0
answers
878
views
Add acf custom fields so sub item in menus
Please, can anybody help me, I've been struggling so long with this
Basically, I want to add custom fields to sub menu items, I want to add an image and a link. I can see fields showing up in sub ...
2
votes
0
answers
59
views
Is there a block to print post link standalone in a block theme?
I know we can print post property (e.g. title or date) wrapped into the link to the post by using a block with the attribute "isLink":true i.e.
<!-- wp:post-title {"level":1, &...
2
votes
0
answers
74
views
How do I add new layout width options in Wordpress editor?
How can I add new custom widths to the block alignment menu?
I have set the two inbuilt ones in my theme.json, but how do I add more? Eg. narrowSize etc.
{
"settings": {
"...
2
votes
0
answers
115
views
Correct way to make a custom block theme responsive
I am trying to make a custom responsive theme using the new Block / FSE approach however I dont think the method Im using is correct.
This is the current design:
This is the view in block editor:
In ...
2
votes
0
answers
510
views
You do not have permission to create Navigation Menus - Twenty Twenty-Two theme
I have a WP Multisite, where I am the super-admin of the Network and the only admin (also super-admin) of this particular site.
Everything is working fine, but whenever I try to edit/add Navigation ...
2
votes
0
answers
1k
views
Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin
I have a code I always used in my themes or child-themes.
I'm doing right now a project with plugin-only as a solution, so I tried to copy paste some stuff from child-theme to plugin file, but I get ...
2
votes
0
answers
231
views
Header Button Chance Polylang Elementor
Currently, I am making a Bilingual website, and I made a button on the header as well, and I want to make the button bilingual as well, but I don't know how could I change its language because it is ...
2
votes
0
answers
438
views
How to extend nav-menu-item-control data in Appearance > Customize?
I have one question as for Nav Menu Items custom fields in the Appearance > Customizer screen.
Since 5.4. there are 2 new hooks:
wp_nav_menu_item_custom_fields - it works for Appearance > Menus ...