Tag Info

Hot answers tagged

2

Those are reserved keywords When you visit a WordPress blog you have: blogindexpage/?queryvariables=queryvalues So for a search request: example.com/?s=searchterm For a post/page of ID 12: example.com/?p=12 etc etc Pretty permalinks hides all this by using regular expressions to map nice looking URLs on to their equivalents. This doesn't prevent ...


2

Not completely sure I understand what you mean with that the parameters fall under a page job, but if you mean that different contents are loaded on the same page using javascript / ajax, you could use https://github.com/browserstate/history.js/ to generate the corresponding url for each state. Difficult to say more about how you could implement this without ...


1

To concatenate strings, PHP uses the concatenation operator .. Thus, to append a string to the current user link, you can use bp_core_get_userlink( get_the_author_meta( 'ID' ), false, true ) . '/posts/' Note that I've removed the first part of the assignment from the $no_anchor and $just_link parameters, as the values should be passed, and not the ...


1

Use <?php echo home_url( '/' ); ?> as the action. 'search' by the way is not a valid bloginfo parameter.


1

When you delete a post, it merely gets put into the "trash" and retains its slug. When you created the "new" contact page, the slug "contact" was already in use by the original contact post that is in the trash. Go into your posts on the dashboard and click on the "Trash" link near the top of the post listing. Once in the Trash area, permanently delete ...



Only top voted, non community-wiki answers of a minimum length are eligible