文章代码高亮

龍哥哥 文章演示评论344阅读模式

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);
}

文章代码高亮

文章末尾固定信息

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

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: