Manual Image Crop plugin
Further needed cropping tool, keep in mind there are a lot of plugins to do this, In this case course […]
Further needed cropping tool, keep in mind there are a lot of plugins to do this, In this case course […]
array(‘left’,’top’)) array(‘center’,’center’)) array(‘right’,’bottom’))
Remember you added under function.php this:
How to install PHP GD extension in xampp? 8 steps:
Under Function.php file add add_theme_support(‘post-thumbnails’);
Select text with mouse, ctrl + d , every time you want to select more of the same
with print_r() we can see what type of info we are getting, an array this case…
Create a custom field on ACF Field Type Relationship: Filter by Post Type: Program Show this field group if Save
Because by default A new custom post-type will fall back to arvhive.php main page We need to create a custom
Remember to register it under the mu-plugins/custom_post_types.php All page looks like this now: REMEMBER TO SAVE IN PERMALINK SO URL
Create new page under Admin New Page named Past Events, slug will be past-events Also create a new php file
Search for Advanced Custom Fields on Plugins Admin ACF the_field(); the_field(‘event_date’); event_date is created on ACF
Go to edit a page of (in this case ‘Eventes’) Got to Edit 3Dots TOP Right Choose Preferences/ Choose Panels/
On custom_post_types.php page created under themes/mu-plugins
This is the excerpt form the actual post, written in admin
This page will show when going to main url/events/
Under theme/ create anew page single-event.php
Any Plugin that we create under this folder will be automatically called by wordpress. Under wp-content folder, create mu-plugins folder
Under functions.php page register new Post Type problem with this is taht if you change theme’s this would dissapear, so
<li <?php if (get_post_type() ==’post’) echo ‘class=”current-menu-item”‘?>><a href=”<?php echo site_url(‘/blog’); ?>”>Blog</a></li>