mirror of
https://github.com/jlengrand/Programming_Tips.git
synced 2026-03-10 08:41:19 +00:00
Adds README and starts putting tips
Adds wordpress tips. About to add bash tips.
This commit is contained in:
34
wordpress.md
Normal file
34
wordpress.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# WordPress
|
||||
|
||||
Some very simple tips and hints for wordpress.
|
||||
|
||||
## Insert an horizontal line in a post :
|
||||
|
||||
Simply insert the <hr/> tag while in html edition mode .
|
||||
|
||||
## Insert anchors/links in a section of a page:
|
||||
|
||||
This is done in two different steps :
|
||||
|
||||
### Define the anchor.
|
||||
|
||||
You should place the following code where you want the user to be redirected.
|
||||
|
||||
```html
|
||||
your article <a name= "name_of_the_anchor"></a> here.
|
||||
```
|
||||
|
||||
### Create a link to the anchor.
|
||||
|
||||
Depending on what you want, you should insert :
|
||||
|
||||
#### If the anchor is placed in the same page :
|
||||
```html
|
||||
<a href= »#name_of_the_anchor »>my highlighted text</a>
|
||||
```
|
||||
|
||||
#### If the anchor is in another page :
|
||||
```html
|
||||
<a href= »http://www.website.fr/#name_of_the_anchor »>my highlighted text</a>
|
||||
<a href= »#name_of_the_anchor »>my highlighted text</a>
|
||||
```
|
||||
Reference in New Issue
Block a user