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 | |
if( have_rows('repeater_name') ): | |
while ( have_rows('repeater_name') ) : the_row(); ?> | |
<div> | |
<h1><?php the_sub_field('sub_field_1'); ?></h1> | |
<?php the_sub_field('sub_field_2'); ?> | |
<a href="<?php the_sub_field('link'); ?>"><?php the_sub_field('sub_field_3'); ?></a> |
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 if( get_field('field_name') ): ?> | |
<?php the_field('field_name'); ?> | |
<?php endif; ?> |
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
$('nav a').on('click', function(){ | |
var sectionId = $(this).attr('href'); | |
$('body').animate({scrollTop: $(sectionID).offset().top}, 'slow'); | |
}); |
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
UPDATE wp_options SET option_value = 'http://www.domainfoo.com' WHERE option_name = 'home'; | |
UPDATE wp_options SET option_value = 'http://www.domainfoo.com/bar' WHERE option_name = 'siteurl' | |
UPDATE wp_posts SET post_content=(REPLACE (post_content, '{old url}','{new url}')) | |
UPDATE `{new prefix}_usermeta` SET `meta_key` = REPLACE( `meta_key` , '{old prefix}_', '{new prefix}_' ); UPDATE `{new prefix}_options` SET `option_name` = '{new prefix}_user_roles' WHERE `option_name` = '{old prefix}_user_roles'; | |
// ** MySQL settings - You can get this info from your web host ** // | |
/** The name of the database for WordPress */ | |
define('DB_NAME', 'craniumstorm'); |
NewerOlder