开发者 | jameelbokhari |
---|---|
更新时间 | 2013年8月26日 10:04 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 3.6 |
版权: | WTFPL |
版权网址: | 版权信息 |
[homeurl]
shortcode, which translates into your website's homepage. This is an essential tool for development. As you add images and internal links, replace your hard-coded links to [homeurl]
so that when you switch your server over, your links and images still work! When using the visual editor, the plugin will still show images that use [homeurl]
in their src.[col]
shortcode to wrap your text in a column, always ending with [/col]
to end the column. Choose to use the plugin's css or style it yourself. Columns can have a range of 12 widths, creating countless possible layouts. By default the width is 6 for two even half-width columns. See FAQ for more info, or go under the Columns tab in the plugin settings for help.jameels-dev-tools
entire directory to the /wp-content/plugins/
directoryUse the shortcode [col]...[/col]
to create a column, replacing ...
with the content. Columns can have different width. The width can be any number between 1 and 12 and uses perecentages. So 12
is full width (with some margin), a width of 6
is half, a width of 4
is a third, and a width of 3
is one fourth. You can create any combination, preferrably if it adds up to 12. There are thousands of combinations you can do.
If your columns are not level it could be due to the extra line breaks that wordpress adds. You can turn off wpautop in the plugin's general settings OR remove the extra line break. In other words, your columns need to be on the same line. EG:
[col]Your first column's content...[/col][col]Stil same line, your second column's content...[/col]
This eliminates extra <br>
and <p>
tags in the html output, which can cause the columns to be uneven.
The search and replace will query all content from posts and pages at once and then perform the replacement.
Under Tools> Jameel's Dev Tools, you'll find a tab labeled Links. Here is where you fill in the fields to "Change all instances of ___ to ___. By defaults the site's url is set to be replaced with the shortcode [homeurl]
because this is what it is inteded for.
The changes are saved as separate posts temporarily, and you are reported the number of instances found total and how many posts will be effected. At this point you can choose to save the settings. This has been tested with only a small ammount of pages and posts, but if you have a lot of posts and pages this can potentially take a LONG time (it's only been tested with a small ammount of content). Always, always, always backup database before performing this action!
If you don't see results, it's because you searched for something that wasn't found. I'm working on cleaning up the messages for the next release.
I'm working on it.