481 questions
0
votes
1
answer
33
views
How Can I use i20 Sidebar Widgets WordPress plugin multiple times in my Blog pages?
i installed this wp plugin in my Blog. I want to use this Shortcode plugin multiple times in Category and tag pages but the Shortcode is working Same for all pages. How can I change width and height ...
1
vote
1
answer
60
views
How to create a shortcode for an existing WP plugin so it can echo information in a different part where it is designed to?
I need to be able to display woocommerce category descriptions part above and part below product archives. There are plugins that do this but they display information above and below woocommerce shop ...
0
votes
0
answers
109
views
How to change shortcode after user interacts with front-end button?
I'm using Royal Audio Player as a plugin for a website I'm creating, and I want to have something similar to what this guy created for his Voiceover website.
Essentially, I want text above the audio ...
1
vote
1
answer
53
views
Shortcode or builder script not rendering properly in wordpress
I tried to add a shortcode to render checkbox and display the agreement and policies page on the same page, namely the checkout page. But when I tried to see the results, the content of the agreement ...
0
votes
1
answer
532
views
Content area not found in my page with Elementor when using shortcode
When I use shortcode of the team showcase plugin in my teams page on WordPress, and published it, then when I open it by edit with Elementor:
Sorry, the content area was not found in your page. You ...
0
votes
0
answers
68
views
How to remove square brackets in wordpress post?
I got this echo doo_isset($postmeta,'youtube_id');
and return this result in Wordpress post: [iNJaoIZTHh0]
Can please help me to remove the square brackets for result to be only: iNJaoIZTHh0
I tried ...
0
votes
0
answers
639
views
How to edit the contents of shortcode in WordPress
I am looking for how to edit contents which are rendered by a short code, in WordPress.
The important thing is the structure of rendering the shortcode's contents has already been made. It is defined ...
1
vote
1
answer
816
views
Create WooCommerce shortcode to display product reviews on single product page
I'm trying to generate a shortcode that gives me the option to display the reviews/ratings of a WooCommerce product anywhere on the single product page.
So far, the reviews are displayed by default in ...
0
votes
0
answers
26
views
How can I change the output method based on if a function was called by a short code or action hook
I have a function that is hooked to the end all posts. I'm adding a shortcode so the same function can be called else where. And I need to change the output method based on whether the function was ...
0
votes
1
answer
67
views
How to Dynamically Change WordPress Page Templates Based on Custom Field Value?
`I'm working on a WordPress project where I need to dynamically change the page template of a post based on a custom field value. For example, if a custom field named "page_template" is set ...
0
votes
1
answer
177
views
My Wordpress php code snippets not working
I trying to use this snippet to prevent anyone who doesn't has a specific word in his username to describe the device he use to login into the website from using the website
this code is not doing ...
0
votes
1
answer
625
views
WP File manager not supported
I am trying to install the WP filemanager plugin to edit some source files, but i am getting this error that the plugin "is not supported." Can anyone explain why this may be, is there a ...
0
votes
1
answer
167
views
Divi custom module render shortcode
I am trying to build a custom Divi module. I need to render a shortcode, it works in the frontend but in editor, the shortcode simply displays as a plaintext. How can I render shortcode in Divi editor?...
0
votes
0
answers
142
views
Can I use the Pods Form block but set a specific value for one of my pod's fields?
Trying to expose some content creation to website visitors through Pods Forms. Specifically, I have an "Individual" content type that I would allow visitors to create, but I want to control ...
-1
votes
1
answer
64
views
How can I write a custom shortcode that takes a single string as an argument?
I'm trying to create a shortcode that takes a single string as an argument, and then returns a hyperlink based on the string. In the code below, the value of $content passed to my function is always ...
0
votes
1
answer
47
views
wp enqueue script not loading the css styles
I build a simple wp plugin to display a welcome section with short code.
custom-welcome-plugin.php file code:
<?php
/*
Plugin Name: Custom Welcome Plugin
Description: Display custom welcome section ...
1
vote
1
answer
1k
views
add_ux_builder_shortcode: How to create a custom container element with Flatsome theme (UX Builder) in Wordpress?
How can I create a custom container element with Flatsome theme (UX Builder) in Wordpress?
The following adds an element:
// Add a new custom container to UX Builder
add_ux_builder_shortcode('...
0
votes
1
answer
221
views
Carry over ACF field when Contact Form 7 is submitted
Just a brief explanation; Currently I have a site where employees login and are able to submit forms to request services. Each employee has a unique ID field that was created using ACF fields. What I ...
0
votes
0
answers
40
views
insert data in database return 404 error in WordPress
I'm trying to insert simple form in database trough ajax without refreshing the page in Wordpress.
For some reason when I click on submit button I've got that the page isn't found - 404 error.
I have ...
0
votes
1
answer
22
views
How to change if condition
I have created a shortcode functions to display the state name in the content. I have created one page specially to display the state names into the content.
I have this line on my page - Why ...
0
votes
1
answer
56
views
How to add 'data-value' to the title of the page in WordPress
I want to add some custom JS functionality to my page. For this I want to add a value into the 'data-value' tag of the title.
What I want in HTML code is this:
<h1 id="h" data-value=&...
0
votes
0
answers
27
views
Can't find " related" options in "query" section in WordPress ,trying to build single page post, want to show relevant posts?
Can't find " related" options in "query" section in WordPress ,trying to build single page post, want to show relevant posts, option not there in "select post by " ? not ...
0
votes
1
answer
165
views
Preventing the display of duplicate products in the WordPress shortcode and requesting code correction
I have a question following my previous questions: Problem in displaying the WordPress shortcode function randomly and Calling multiple variables integrated with HTML in PHP arrays
As I asked in my ...
-1
votes
2
answers
458
views
Inserting Shortcode into WooCommerce Product Description
We need to add shortcode into the WooCommerce Product Description. The intent is that we can call blocks into specific products and just update that block vs. the each individual listing. Any idea how ...
0
votes
1
answer
575
views
A PHP code snippet works when in Wordpress Elementor editor but not in the page when displayed in browser
Using Code Snippet plugin and Elementor, I am trying to display a custom type post (Events from "The Events Calendar" plugin).
The following code works well with another custom post type I ...