BuilderChild-Acute-Blue

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
m
 
Line 36: Line 36:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
== Entry 2 ==
 +
 +
== Entry 3 ==
 +
 +
== Entry 4 ==

Latest revision as of 00:11, February 20, 2013

Contents

How to show Previous and Next Post links in single posts

2013-02-20 10-39-13.png

Edit child theme's single.php.

1. Change this to this.

2. Add the following at the end of child theme's style.css (WP dashboard -> Appearance -> Editor):

.single-post .loop-footer .alignleft a,
.single-post .loop-footer .alignright a {
    background: none;
    border: none;
    text-shadow: none;
    padding: 0;
    display: inline;
}

.single-post .loop-footer .alignleft,
.single-post .loop-footer .alignright {
    padding: 4px 10px;
    background: #0081C6 url('images/lines.png');
    border: 1px solid #006194;
    text-shadow: #00A1F7 1px 1px;
}

.single-post .loop-footer .alignleft a:hover,
.single-post .loop-footer .alignright a:hover {
    background: none;
}

.single-post .loop-footer {
	margin-top: 2em;
}

Entry 2

Entry 3

Entry 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox