short URLs in WordPress – WortGepresst



STARTSEITE MULTIMEDIA WORTGEPRESST FAMILIENBANDE BOOKMARK PRIVACY


short URLs in WordPress

Just include the following code anywhere in the WordPress loop to display a short URL for the post:
<?php echo get_bloginfo('url')."/?p=".$post->ID; ?>
For each post or page, this will display a URL that looks like this:
//www.08091971.de/?p=7

Font Resize
Contrast
Zur Werkzeugleiste springen