已建立論壇回覆
-
作者帖子
-
加了 important 三級域名還是無法顯示自己圖示我剛看錯了
解決了加上!important
三級域名沿用的仍舊是二級域名的 css 樣式!
請問下詩雨大佬,發現如果是三級域名,對於這個 css a 標籤圖示發現自定義失效,沿用的是而已域名的 css a 圖示
學習了!謝謝
好的我看看,我用的阿里雲伺服器
/********結合你們說的我大致補充下******************************/
function my_custom_upload_mimes1($mimes1 = array()) {
// Add a key and value for the SVG file type
$mimes1[‘TTF’] = “text/TTF”;return $mimes1;
}add_action(‘upload_mimes1’, ‘my_custom_upload_mimes1’);
function my_custom_upload_mimes2($mimes2 = array()) {
// Add a key and value for the SVG file type
$mimes2[‘WOFF’] = “text/WOFF”;return $mimes2;
}add_action(‘upload_mimes2’, ‘my_custom_upload_mimes2’);
function my_custom_upload_mimes3($mimes3 = array()) {
// Add a key and value for the SVG file type
$mimes3[‘WOFF2’] = “text/WOFF2”;return $mimes3;
}add_action(‘upload_mimes3’, ‘my_custom_upload_mimes3’);
function my_custom_upload_mimes4($mimes4 = array()) {
// Add a key and value for the SVG file type
$mimes4[‘SVG’] = “text/SVG”;return $mimes4;
}add_action(‘upload_mimes4’, ‘my_custom_upload_mimes4’);
function my_custom_upload_mimes5($mimes5 = array()) {
// Add a key and value for the SVG file type
$mimes5[‘EOT’] = “text/EOT”;return $mimes5;
}add_action(‘upload_mimes5’, ‘my_custom_upload_mimes5’);
/*************svg eot woff woff2 ttf 用完可以刪除程式碼**********/
/************這個加完後,請 vi wordpress 的 wp-config.php 檔案加入 define( ‘ALLOW_UNFILTERED_UPLOADS’, true );define( ‘ALLOW_UNFILTERED_UPLOADS’, true );********************************************/
回覆至: 技術諮詢: 關於阿里雲伺服器 #38885好的我再看看,找找之前的教程
回覆至: 技術諮詢: 關於阿里雲伺服器 #38883資料庫是不是也不要用高版本的!我用的那個 mariaDB 資料庫!網上搜了下這個版本的資料庫對於記憶體小的也不行
回覆至: 技術諮詢: 關於阿里雲伺服器 #38882下午我把後臺設定的發一下,不忙了您幫忙看下
-
作者帖子