WordPress Recent Posts Extended Customer CSS範例

.rpwe-block ul{ list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; } .rpwe-block li{ border-bottom: 1px solid #eee; margin-bottom: 5px; padding-bottom: 0px; list-style-type: none; } .rpwe-block a{ display: inline !important;...

防止網站被盜圖程式碼

在Head部加入以下代碼: <script> jQuery( document ).ready(function($) { $(‘#main-content img’).bind(‘contextmenu’, function(e) { alert(“本站圖像均受版權保護,請勿任意轉載盜用!”); e.preventDefault(); }); });...

wordpress 自訂網頁字型

先在頭部加入: <style> @import url(‘https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap’); </style> 在Customer CSS 中加入以下: h1, h2, h3, h4, h5, h6, p, bloakquote, address, big, cite, code,  em, font,  img, small, stritd, body {font-family: Verdana,...

QQ 線上客服程式碼

QQ 線上客服 <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″...

wordpress 修改Comment英文為中文

從外觀進去修改主題編輯器: <?php if ( post_password_required() ) : ?> <p class=”nocomments container”><?php esc_html_e( ‘This post is password protected. Enter the password to view comments.’, ‘Divi’ ); ?></p> <?php return; endif; ?> <!– You can...