Link to an externally created photo albums

You can embed the photo album in a page as follows: As mentiontioned by @amari, load your photoshop album to the server using FTP Create a new Page or Post in WordPress In the editor using text input enter the iframe tag and point it to your uploaded photoshop album as follows: <iframe src=”https://link-to-your-gallery” width=”100%”></iframe> … Read more

Enqueue JS + CSS via a child theme functions.php file?

Your issue is the dependency: array( ” ) That’s setting your stylesheet to have a dependency on a stylesheet whose name is an empty string. If you want to say that there’s no dependency you need to use an empty array: array() Also, your second bit of code is missing an endif, which will cause … Read more

Help wiht adding fullcalendar.io to a WordPress page

Figured it out! First I passed what Iceable suggested and also added moment script above, like so wp_register_script(‘moment’, “https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js”); wp_register_script( ‘fullcalendar’, “https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.9.0/fullcalendar.min.js”, array( ‘jquery’ ), null, true); and then I edited JS like so jQuery(function ($) { $(‘#calendar’).fullCalendar({ }) }); And it showed up!

Change user role based on total number of items ordered

You are using a wrong Parameter ‘$customer_id’ that is not defined in your code. Check below is updated code. It should be work. replace below code with your function. function change_role_on_purchase( $order_id, $order ) { $user_id = $order->get_customer_id(); $user = new WP_User( $user_id ); $purchases = get_user_total_purchased_items( $user_id ); if( $purchases >= 50 && $purchases … Read more

How would I correctly implement a new if statement in a child functions file?

you put a , instead of ; at end of $advert_details. you will better see this kind of error if you better indent the code. add_action(‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 12); function theme_enqueue_styles() { wp_enqueue_style(‘parent-style’, get_template_directory_uri() . ‘/style.css’); } if (!function_exists(‘adifier_custom_meta’)) { function adifier_custom_meta() { $meta_boxes = array(); $advert_details = array( array( ‘id’ => ‘advert_cond’, ‘name’ => esc_html__( … Read more

Altering page / category names in breadcumbs

You have to add this to your CSS. .breadcrumb_last { text-transform: capitalize; } As you can see, I used text-transform: capitalize;, to make the text looks like you need. In case you don’t know how to add CSS, check this out.