All Questions
64 questions
0
votes
0
answers
33
views
myCred WordPress Plugin Custom Column Export
I am using the myCRED plugin as part of a WordPress project I am working on.
I have successfully added a custom column “Team Name” to the admin Points Log table. Both the column header and data show ...
1
vote
1
answer
62
views
How to add a new condition (if) to the back button?
I try to add a new condition (if) to the back button in a plugin file.
The back button codes are in the render.php file.
$back_url = '';
if (!$modal) {
if (isset($_REQUEST['back'])) {
...
0
votes
0
answers
81
views
Vendor Dashboard Field Renaming WCFM
Does anyone know, is it possible to rename WCFM`s Ledger Book in vendors dashboard to Earnings?
WooCommerce/WordPress website.
Been trying to find an answer in WCFMs documentation, but couldn't find ...
1
vote
0
answers
46
views
Error "Notice: Undefined offset: 1" when I activate plugin
I try to write simple plugin om WordPress. But when I try activate it, I get errow "Notice: Undefined offset: 1" How I fix it? Thank you for your attention.
if (!defined('ABSPATH')) {
die;...
0
votes
0
answers
108
views
php - how to pass variable value from function to add action
I have funcition which is executed in plugin admin and function which is executed also from plugin but on cart with add action.
I want to:
pass bool parameter from plugin function to add action ...
0
votes
2
answers
60
views
Wordpress custom plugin will display on post but will not print
Here is a simplified version of the plugin. It does what it is supposed to do. It displays the modified time like Modified: February 23, 2016.
<?php
/**
*/
function modified_date($content) {
...
0
votes
1
answer
670
views
PHP function return string and variable
I have a PHP function that has to return some string and print variables into the string. Now the function returns a string but does not print variable value.
function listShortcode ($id) {
$i = $...
0
votes
1
answer
41
views
How can I set this pop up to only show/fire on the home page of the website?
I have a custom popup here https://odfigroup.com/ (made with php like a custom plugin)
It use to only fire when someone was on the home page and on only a certain number of visits but it does not seem ...
-2
votes
1
answer
219
views
I can't solve standings for drivers and constructors from ergast Api
I'm using ergast plugin for my wordpress website. The plugin don't have codes for drivers and constructor standings. I'm trying to set not included code but front end don't solve it.
This is the url ...
1
vote
1
answer
2k
views
function on Contact Form 7 submission not working
I'm using Contact Form 7 in Wordpress, What I want to do is to call a specific JavaScript function when the form I created is submited show popup successful. and this my code
add_action('...
0
votes
1
answer
385
views
Calling a variable from a plugin file's function
This is WordPress-related but is a general question.
The plugin I use has a function with a variable I want to use in a template, but I can't figure out how to call the variable. On its own, with an ...
0
votes
2
answers
590
views
WP_Query | meta_query argument meta value in array serialize form
In short i want get meta values from usermeta table but the meta value is in serialize array form,
these values are post ids actually, this is my working code for single meta value, i want multiple ...
0
votes
1
answer
149
views
Wordpress Actions to Extend Plugin
I newby here ... Woocommerce Wishlist plugin so that I can have the "add to wishlist" on my products page and not just the single page.
I added this to my functions file but it creates ...
0
votes
1
answer
34
views
What is the function for typography api wordpress?
Is someone know how to add this function wihtout a downloading a plugin ?
I prefer to use plugin but my teacher ask me to add this one without T.T
I find that one but it don't works :
function ...
0
votes
1
answer
135
views
How to prevent add_editor_style from running?
I was wondering how I could prevent add_editor_style( $protocol.$universal_css_url ); from running by using my own functions.php (so I mean via a hook or something like that)?
Is there a way to ...