English 中文(简体)
• 如何强迫使用_enqueue_在主角底层显示特别安全局,以压倒所有特别安全局的规则?
原标题:How to force wp_enqueue_style to display CSS at the very bottom of the head tag to override all CSS rules?

目前,我正在研究如何通过插头来建立口头管理模板,根据Wordpress Wiki,你可以使用诸如admin_head和>等灯塔。

echo "<link rel="stylesheet" type="text/css" href="  . get_option( siteurl ) .  /wp-content/plugins/blue-steel/login.css" /> ."
";

明显的例子有:A Bad Thing,因为链接标签在php逻辑中难以编码。

理想的是使用wp_enqueue_ Format()插入国际空间站。 然而,它有自己的想法,即:,《社会保障法》被插入,只是对其喜欢的hoo作出反应。 例如,在admin_head 内,轮式回答不错。 迄今为止,我只能在wp_print_etsin内使用,但你在一切缺席的安保部装满后,再一次能够真正展示安保部:

<link rel= stylesheet  href= http://localhost/wordpress/wp-admin/load-styles.php?c=0&amp;dir=ltr&amp;load=plugin-install,global,wp-admin&amp;ver=9e478aac7934ae559830ecb557b6511d  type= text/css  media= all  />
<link rel= stylesheet  id= pinq-admin-css   href= http://localhost/wordpress/wp-content/themes/ardee/css/pinq-admin.css?ver=3.0.1  type= text/css  media= all  />
<link rel= stylesheet  id= thickbox-css   href= http://localhost/wordpress/wp-includes/js/thickbox/thickbox.css?ver=20090514  type= text/css  media= all  />
<link rel= stylesheet  id= colors-css   href= http://localhost/wordpress/wp-admin/css/colors-fresh.css?ver=20100610  type= text/css  media= all  />

我只想pinq-admin-cs,在主角(最好是在封闭头之前)的岩石底层展示,以便它能够压倒所有已装满的与言论相关的特别安全局。

对此有何想法?

最佳回答

Hey。 有一个论点,即:$deps>,wp_enqueue_打字/,你应当给它一个尝试。 你也许能够指出,你的风格取决于其他所有方面,因此把它放在了后面。 除此以外,你还可以继续使用<编码>! 进口。 More info on Dependencies:

问题回答




相关问题
Wrap stray text in <p> tags

Wordpress issue.. how do I wrap stray text in P tags? Example: Before- <div class = "content"> <img src = "hello.jpg"/> <h1>Introduction</h1> Hello! this is ...

Using jQuery Plugins with Wordpress

Having a bit of trouble using jQuery plugins (Superfish, jQuery UI, etc) using Wordpress. Everything works fine in my plain non-Wordpress site, but Wordpress seems to conflict with JQuery. There must ...

WordPress Data Storage Efficiency

I ve been asked to review a WordPress plugin of sorts and try to find ways of making it faster. The premise of this plugin is basically to store a bunch of users and shifts and appointments and ...

Why can t I properly style a blockquote in Wordpress?

On the design I just created for my website, I have a blockquote styled with two quote images using the span technique in css: blockquote { background-image: url(images/openquote.jpg); background-...

How does the WordPress <!--nextpage--> tag actually work?

What happens? I m guessing that somehow the post or page is parsed before displaying, and then just split into two methods? I can t seem to find any documentation on how the underlying <?php ...

Wordpress Plug-ins: How-to add custom URL Handles

I m trying to write a Wordpress Plug-in but can t seem to figure out how you would modify how a URL gets handled, so for example: any requests made for: <url>/?myplugin=<pageID> will ...