Browsing Tag

functionsphp

Return ACF field as a Shortcode using WordPress Functions.php file

How do I use an Advanced Custom Field as a Shortcode. Ive used the following code in the WordPress functions.php file but no luck. Here

How to write a Javascript function inside the functions.php of WordPress?

I’m altering a plugin on developer recommendations (http://premium.wpmudev.org/forums/topic/appointments-service-categories, See latest post), which advices to write a bit of Javascript in the functions.php of WordPress. Now,

A way to send data from JS file to functions.php

i have a Javascript file with 2 data variables needed to be send to functions.php on page load . if you will say AJAX, please

Functions.php in child theme that loads CSS file breaks website

I created a child theme and created a functions.php file in the child theme directory that also has the required style.css file and a seperate

Why does wpmu_new_user not fire inside of a plugin but does inside functions.php?

I have a project to complete where sites within a WordPress Multisite blog will automatically add users to the corresponding sites (where the plugin is

get_attachment from functions.php

I’m trying to open an image with a lightbox (colorbox) and when it did, have a button that opens a link to it’s attachment-page. I

How to correctly add Javascript in functions.php

I would like to remove some ugly looking arrows that are standard on cart buttons in WooCommerce. To achieve this, I found a tip of

register_sidebar fails when using a include within functions.php

I have registered several sidebars via functions.php like this: // Register sidebars function register_widgets() { // Main sidebar register_sidebar( array( 'name' => __( 'Main Sidebar',

Update functions.php from WordPress dashboard

I’m sure this isn’t possible but I thought I would ask. In my functions.php file I have a wp_mail function that sends an email to

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising