New to WordPress & Freelancing [closed]

Unfortunately I’ve heard that comment a couple of times: WordPress was just like Weebly and a drag and drop enthusiast for those who can’t code. Which is undoubtedly wrong. WordPress is a CMS (Content Management System). A CMS is a piece of program that (as its name suggest) manages your content for you, however the … Read more

Adding jquery using php function

Why are you not using the built-in enqueue_script function? Simply put your custom jQuery code into a file called custom.js, save it into your plugin or theme folder, then enqueue it with jQuery as a dependency: <?php function custom_scripts() { if (is_admin()){ wp_enqueue_script( ‘customjs’, get_template_directory_uri() . ‘/js/custom.js’, array(‘jquery’) ); } } add_action(‘wp_enqueue_scripts’, ‘custom_scripts’); You’ll need … Read more

Force array to be a string [closed]

There are a few ways you can make an integer a string. Here are 2 main ways to make that happen Type Cast – $values_x[] = (string) $series[0][‘data’][$i][0] Double Quote – $values_x[] “{$series[0][‘data’][$i][0]}” Also, you might want to check for null first and assign a default $values_x = !empty($values_x) ? $values_x : array(‘2010’); If you … Read more

Event plugin problem any one solve .? [duplicate]

Hello @bradleysp When setting up an event for use with GAMP – things have to be done in a very specific order.. To help with this we have produced some How-To videos showing the steps at: http://opentickets.com/videos Please can you take a look at the relevant videos to make sure you haven’t inadvertently missed out … Read more

Advanced Custom Fields Show PHP in Text Areas

Pay for the ACF Pro version to enable flexible fields (which is basically the function I wanted to have) or use an alternative WP plugin that has the feature for free, such as Carbon Fields or Piklist. If you want to display PHP in the textboxes, although creating a security vulnerability, you could use Shortcodes. … Read more

Are WordPress & PHP objectively and based on evidence going to die because the future is made of frontend rendering instead of server side rendering? [closed]

Do not worry about the future of PHP, it’s here to stay. It powers more than 75% of websites as of 2021. The frontend rendering frameworks and libraries keep changing and most of them end up being passing fads, although it will be vital to learn those that are being used extensively e.g. React, Vue, … Read more