Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 736

Pages are static, timeless content that are unique from the regular blog chronology.

0 votes

Wordpress is picking up links that don't exist

Your site has many issues, firstly your jquery is not loading correctly. If I look at what your server is giving me I expected to find a minimised copy of jquery, instead I got a html meta refresh tag …
Tom J Nowell's user avatar
  • 60.6k
3 votes
Accepted

Display page contain in index.php file

get_the_content( $more_link_text, $stripteaser ) get_the_content does not take a post ID as a parameter, it always refers to the current post. Also, don't use magic numbers or hardcode post IDs int …
Tom J Nowell's user avatar
  • 60.6k
7 votes

Customizing the URLs of WordPress Login and Sign-up Pages?

You can use a htaccess file to rename the login and registration addresses to easier to remember versions: http://wpguy.com/articles/an-easy-to-remember-login-address/ Using what was in that link we …
1 vote

Add pagination to this following template

Firstly, you have 2 queries, the second is overriding the first: <?php query_posts($query_string . '&pagename=&page_id='); ?> <?php query_posts('posts_per_page=3'); ?> Replace them with a single qu …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Is it to possible to insert a page in the post depending on the category ofthe post

As an alternative, you could pull in the description of that category and use that instead of a page for your brief? To do this, you will need to be strict about categories, e.g. if a city straddles …
Tom J Nowell's user avatar
  • 60.6k
1 vote

Get the content of a specific page (by ID)

If you're in the loop do this: <?php $my_excerpt = get_the_excerpt(); if ( $my_excerpt != '' ) { // Some string manipulation performed } echo $my_excerpt; // Outputs the processed value to the pa …
Tom J Nowell's user avatar
  • 60.6k
4 votes

list pages only from master parent

Your current logic is: if we are a root page: ( we're 1 level deep! ) show the children! but if we are not a root page: ( we're 2 levels deep! ) show the siblings/parents children! And your …
Tom J Nowell's user avatar
  • 60.6k
1 vote
Accepted

Page templates in subdirectories and auto generator

This would simplify your code and allow you to use archive-tools.php etc, and removing the need to create any pages to begin with. …
Tom J Nowell's user avatar
  • 60.6k
3 votes

how to avoid the character conversion of WordPress pages?

What you are doing is incredibly dangerous. You can break your site horribly, or have your entire server hacked. With a PHP in content plugin there is nothing stopping an editor from copy pasting a PH …
Tom J Nowell's user avatar
  • 60.6k
1 vote

How to edit the font color of the H1 on a single page?

If you're using body_class and post_class correctly, you should have CSS classes you can match against that take the form postid-0001 etc Next you need the CSS to change the h1 colour Find the ID of …
Tom J Nowell's user avatar
  • 60.6k
0 votes
Accepted

Dash after page title

You can't edit them, and they're not notes stored on a post If you set a page in settings as the front page, Front page will be shown so it's easier to identify that page The same is true if you choo …
Tom J Nowell's user avatar
  • 60.6k
1 vote
Accepted

How do I attach a page to a category similar to how we attach media to a post?

No, media is attached to posts/pages using the post_parent column. This works because media is actually a post of type attachment in the database. …
Tom J Nowell's user avatar
  • 60.6k
0 votes

Cover block always has margin

Use the cover block instead, the group block isn't necessary, and will have padding if it's given a background colour.
Tom J Nowell's user avatar
  • 60.6k
1 vote

No full page reload when navigating from page A to page B: is this possible with Wordpress?

This isn't something WordPress provides at the moment, "PJAX" is a general term and technology that has lots of implementations and tradeoffs, similar to how there is no one way to do your CSS. There …
Tom J Nowell's user avatar
  • 60.6k
0 votes
Accepted

Add HTML to Page Content

Indeed! It's a filter called 'the_content', to which numerous other functions are hooked such as the one that turns Wordpress into WordPress, oembeds, and the p tag wrapping echo apply_filter('the_co …
Tom J Nowell's user avatar
  • 60.6k

15 30 50 per page