This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d.iframe.one("load", function () { | |
f = true; | |
if (g) { | |
e.resolveWith(d) | |
} else { | |
setTimeout(function () { | |
e.rejectWith(d, ["ready timeout"]) | |
}, d.sensitivity) | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function create_rewrites() { | |
add_rewrite_rule( | |
'pamelding/([^/]+)/?$', | |
'index.php?pagename=pamelding&courseid=$matches[1]', | |
'top' | |
); | |
add_rewrite_rule( | |
'kursdetaljer/([^/]+)/([^/]+)/?$', | |
'index.php?pagename=kursdetaljer&courseid=$matches[1]', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function breadcrumbs() { | |
if( ! is_home() ){ | |
global $post; | |
?> | |
<a href="<?php bloginfo( 'wpurl' ); ?>">Home</a> » | |
<?php $parent = $post->post_parent; | |
$parent_title = get_the_title( $parent ); | |
echo '<a href="'.get_permalink( $parent ) .'">' . $parent_title . ( '' ); ?> </a> » | |
<?php the_title( '' ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /wordpress_clean/ | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /wordpress_clean/index.php [L] | |
</IfModule> |
NewerOlder