Skip to content
煇^舍
  • Home
  • About
  • Projects
    • AU
      • Alicia Pilates
      • Clare Wood (22)
      • Funct’l Movem’t Club (20)Project from 1-Ming started on 2020-08-28 and Cutover on 2020-09-20.
      • Gordon Flooring (22)
      • Hunton Executive (20)First project using Elementor Pro in Nov 2020.
      • Lucky Punts (22)The site was developed by others. The work here is mainly enhancements.
      • RE Collective (21)
      • The Design Order Store
    • HK
      • EC HealthCare
      • Fai RoomMy own blog website for knowledge management.
      • IOT
      • mj1900Project on setting up the MJ1900 Server running on Debian 9.
      • NPC
      • RebornA project from Ting;s company UMH.
  • Blog
    • Cars
    • IT
      • Codings
      • MicroController
      • PCs
      • Servers
    • Courses
      • C
      • C++
      • Vue 3
  • Toggle website search

Codings

  1. Home>
  2. Codings>
  3. Page 3

Create Custom Buttons

  • Post category:Codings

Introduction This article describes 2 methods for creating buttons on web pages. Method 1 is applicable in all…

Continue ReadingCreate Custom Buttons
Tags: css, html, wordpress

WordPress Taxonomy Database Schema

  • Post category:Codings

 Three tables for storing taxonomy data: wp_terms – stores all of your taxonomy termswp_term_taxonomy – defines what taxonomy each term…

Continue ReadingWordPress Taxonomy Database Schema
Tags: wordpress

WordPress – the hooks

  • Post category:Codings

Action Hook do_action( ) Actions are defined using the do_action($h_name, $args) function. $h_name - This is the hook…

Continue ReadingWordPress – the hooks
Tags: hooks, wordpress

Add button at a fixed position

  • Post category:Codings

To add a button with a fixed postion on the page: <style> .fixRegBtn { position: fixed; right: 10px;…

Continue ReadingAdd button at a fixed position
Tags: css, html

Video-Using Elementor to build a Blog site

  • Post category:Codings

Keywords: template, loop, header, footer, blog list, siderbar, category page, blogpost page. https://www.youtube.com/watch?v=F9UBPbsZ2Rs Timestamps for the video 00:00:00…

Continue ReadingVideo-Using Elementor to build a Blog site
Tags: elementor, wordpress

Elementor Setup

  • Post category:Codings

This article describes the setting up of Elementor page builder for wordpress website development. It is advisable to…

Continue ReadingElementor Setup
Tags: elementor, wordpress

Regular expressions in htaccess

  • Post category:Codings/Servers

Cheat Sheet by DaveChildOnline tool to learn, build, & test Regular Expressions. The following table shows RegEx commonly used in the htaccess file (by…

Continue ReadingRegular expressions in htaccess
Tags: network, wordpress

Use of Empty Space – wordpress dev.

  • Post category:Codings

To hide an empty space at viewport width of 999px and below, create a class named as ".cu-es-hi-le999"…

Continue ReadingUse of Empty Space – wordpress dev.
Tags: css, wordpress

Naming CSS classes for wordpress development

  • Post category:Codings

In wordpress development, the selected theme employs large number of classes to style its elements. To distinguish the…

Continue ReadingNaming CSS classes for wordpress development
Tags: css, wordpress

Centering elements using CSS

  • Post category:Codings

Center text within a container Use text-align: center; <div class="container"> <p>Text line in the center</p> </div> p {…

Continue ReadingCentering elements using CSS
Tags: css, html, wordpress

URLs for sharing pages on social platforms

  • Post category:Codings/Funct'l Movem't Club (20)

The following links are embedded into the three icons on the Back-on Track-ebook-new page and its landing page.…

Continue ReadingURLs for sharing pages on social platforms
Tags: html, wordpress

Change WordPress site domain name

  • Post category:Codings

Login to phpmyadmin.Go to relevant website database.Go to "wp_options" table.Change the value of "siteurl" and "home" to the…

Continue ReadingChange WordPress site domain name
Tags: wordpress

Basic HTML boilerplate

  • Post category:Codings

Reference: HTML5 Template: A Basic Boilerplate for Any Project   <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>The…

Continue ReadingBasic HTML boilerplate
Tags: css, html

Google Maps iframe in grey & set zoom level

  • Post category:Codings

Gray Map - Add a class in the iframe. For example: <iframe class="cu-gmap" width="100%" ......</iframe> Then in CSS,…

Continue ReadingGoogle Maps iframe in grey & set zoom level
Tags: css, wordpress

Convert XD character spacing to CSS letter spacing

  • Post category:Codings

Reference: Github css-letter-spacing (em) = ( XD character spacing / 1000 ) * 1em and css-letter-spacing (px) =…

Continue ReadingConvert XD character spacing to CSS letter spacing
Tags: css, wordpress

CSS @media & Mobile Screen Sizes

  • Post category:Codings

1. Desktops, HDPI screen @media screen and (min-width: 1281px) { } 2. Laptops, iPAD Pro, MDPI screen @media…

Continue ReadingCSS @media & Mobile Screen Sizes
Tags: css, mobile

PHP – Adjust max upload filesizes

  • Post category:Codings/Servers

Debian 12 When MJ1900 was upgraded to Debian 12 in 2023, the php version for Apache has been…

Continue ReadingPHP – Adjust max upload filesizes
Tags: network, php

Prevent direct access to php files from URL

  • Post category:Codings/Servers

In each of the other files, add these codes at the top. if (basename($_SERVER['PHP_SELF']) === basename(__FILE__)) {header($_SERVER["SERVER_PROTOCOL"] .…

Continue ReadingPrevent direct access to php files from URL
Tags: php, security
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • Go to the next page

Categories

Recent Posts

  • BYD Sealion 7
  • Test word count plugin
  • WooCommerce Resources
  • YourTube Download Library “yt-dlp”
  • Set up Google Wallet Pass

Archives

Tags

apache (1) aws (2) C (21) C++ (10) cf7 (6) coding (8) css (38) elementor (20) esp-idf (4) esp32 (4) hooks (2) html (15) javascript (12) jquery (6) lightsail (2) linux (9) linux-commands (3) mobile (1) network (4) performance (4) php (27) plugin (20) security (2) sftp (2) shopify (2) ultrawide (1) vimeo (1) vue (3) woocommerce (2) wordpress (91) youtube (5)

Search

Quick Links

  • Home
  • Codings
  • Servers

Categories

Tags

apache (1) aws (2) C (21) C++ (10) cf7 (6) coding (8) css (38) elementor (20) esp-idf (4) esp32 (4) hooks (2) html (15) javascript (12) jquery (6) lightsail (2) linux (9) linux-commands (3) mobile (1) network (4) performance (4) php (27) plugin (20) security (2) sftp (2) shopify (2) ultrawide (1) vimeo (1) vue (3) woocommerce (2) wordpress (91) youtube (5)
© Copyright [oceanwp_date] - 煇^舍
  • Home
  • About
  • Projects
    • AU
      • Alicia Pilates
      • Clare Wood (22)
      • Funct’l Movem’t Club (20)
      • Gordon Flooring (22)
      • Hunton Executive (20)
      • Lucky Punts (22)
      • RE Collective (21)
      • The Design Order Store
    • HK
      • EC HealthCare
      • Fai Room
      • IOT
      • mj1900
      • NPC
      • Reborn
  • Blog
    • Cars
    • IT
      • Codings
      • MicroController
      • PCs
      • Servers
    • Courses
      • C
      • C++
      • Vue 3
  • Toggle website search
Type your search
We use cookies to improve user experience. If you continue to browse this website would imply that you agree to our use of cookies here.
Accept & Close
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT