文章代码高亮

早晨的风 文章评论122阅读模式

WordPress 软件为每个人而设计,强调无障碍、性能、安全和易用。我们相信,伟大的软件应在较少的设置下就能运行,这样您就可以专注于自由地分享您的故事、产品或服务。

基本的WordPress软件简单易懂,所以您可以轻松上手。其还为发展和成功提供了强大的功能。
添加方法点击工具栏上的代码高亮,在弹出的窗口中添加内容。

function twentytwentytwo_support() {
	// Add support for block styles.
	add_theme_support( 'wp-block-styles' );
	// Enqueue editor styles.
	add_editor_style( 'style.css' );
}

wp_dropdown_languages(
	array(
		'name'                        => 'WPLANG',
		'id'                          => 'site-language',
		'selected'                    => $lang,
		'languages'                   => $languages,
		'show_available_translations' => false,
	)
);

function twentytwentytwo_styles() {
	// Register theme stylesheet.
	$theme_version = wp_get_theme()->get( 'Version' );
	$version_string = is_string( $theme_version ) ? $theme_version : false;
	wp_register_style(
		'twentytwentytwo-style',
		get_template_directory_uri() . '/style.css',
		array(),
		$version_string
	);
	// Enqueue theme stylesheet.
	wp_enqueue_style( 'twentytwentytwo-style' );
}

基本的WordPress软件简单易懂,所以您可以轻松上手。其还为发展和成功提供了强大的功能。

.wp-block-quote {
    background-color: #fff;
    border: 1px solid #f2f2f2;
    border-left: 5px solid var(--appside-main-color-one) !important;
    padding: 22px 30px 24px 30px;
    font-size: 16px;
    line-height: 26px;
    margin: 25px 0;
    quotes: "“" "”";
    position: relative;
    z-index: 0;
    font-family: var(--appside-body-font);
}

文章代码高亮

免责声明:本网站部分文章采集于网络、报纸、杂志等其它媒体,如侵犯了原作者的版权,请来信告知,本站将立即删除。

Disclaimer: All content on this website are collected through various medium, internet,newspapers, magazines etc. Please notify if violated the original author's copyright and we will remove it immediately.

weinxin
我的微信
我的微信
微信扫一扫
广告也精彩
早晨的风
  • 本文由 早晨的风 发表于 2022年11月15日11:07:09
  • 转载请务必保留本文链接:https://www.zhaotip.com/537.html
广告也精彩
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定