Making Custom Social Media Images for Share Links in WordPress
…which use 2 key parameters illustrated in the example using square brackets[] which are Title and URL of the post or page in question: Facebook http://www.facebook.com/share.php?u=[URL]&title=[TITLE] Google https://plus.google.com/share?url=[URL] Twitter http://twitter.com/home?status=[TITLE]+[URL]…
Read MoreSet monit to monitor mariadb on a RunCloud instance on Ubuntu 22.04
…port number – use http protocol or configure https for use. You can now also view the monit stats via the command line with: monit status Email Alerts Email alerts…
Read MoreUpdating to PHP versions 7.4 and 8 on macOS 11 Big Sur and Catalina
…Run… php -v You should now see the new version, to change to another version just repeat the process from the brew install… then unlink and link in the new…
Read MoreExtend the TwentyEleven Theme Menu Navigation to Full Width
…the changes to the style and header files but cannot get the header to extend. Please take a look at http://www.mibec.ca/test3 thanks, Neil Gee 2 things to fix Judy -…
Read MoreHow to Make Images Scale for Responsive Web Design
…rule and also ensure the width attribute is not in the html. There are some new solutions being considered which serve different size images according to the user agent requesting…
Read MoreCreate a Expand/Collapse FAQ Accordion, Collapse other on Click
… Ref http://stackoverflow.com/questions/37745154/only-open-one-accordion-tab-at-one-time http://www.w3schools.com/howto/howto_js_accordion.asp The example I have used, uses different HTML elements than the w3schools example, the reason is more WordPress post editor friendly as the w3schools uses the…
Read MoreAdding a Text Block via the Customizer in WordPress
…Customizer So our Customizer will now have new panel and section… New Top Level Panel New Section New Setting and Control Displaying in the Front…
Read MoreUsing FontAwesome Icons to replace WordPress Dashicons in Admin Menus
…dashicons. function fontawesome_dashboard() { wp_enqueue_style(‘fontawesome’, ‘http:////netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css’, ”, ‘4.5.0’, ‘all’); } add_action(‘admin_init’, ‘fontawesome_dashboard’); In your functions.php add in the above in which a new function is created which calls the FontAwesome…
Read MoreHow to update VVV for WordPress | Varying Vagrant Vagrants
…pull If you have changes or additions to the VVV install you will get an error… neilg@[~/dev]:(develop) git pull Cannot pull with rebase: You have unstaged changes. Please commit or…
Read MoreAdd and install PHP to macOS Monterey 12 with Homebrew
The latest macOS version Monterey 12 has removed PHP altogether from its operating system, there is a comment in the Apache config file httpd.conf that says: #PHP was deprecated in…
Read More