View next previous URLs wordpress
<?php
$prev = get_permalink(get_adjacent_post(false,'',false));
$next = get_permalink(get_adjacent_post(false,'',true));
?>
<a href="<?php echo $prev; ?>">Previous Post</a>
<a href="<?php echo $next; ?>">Next Post</a>
<?php //What if there isn’t a previous or next post? ?>
View wordpress multiple loop
<?php
$custom_post_type = 'team_profiles;
$tax_term = 'department';
$terms = get_terms($tax_term);
foreach($terms as $term) :
?>
<h2><?= $term->name;?></h2>
<?php
$cat_posts_args = array(
'post_type' => $custom_post_type,
View gist:ba90fb94f6222a6bf5d8be5cc2d7b58e
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu([
'theme_location' => 'primary_navigation',
'menu_class' => 'nav',
'items_wrap' => '%3$s',
'container' => false
]);
endif;
?>
View example.css
//The CSS
.tocheck {float:left;}
@media only screen and (max-width: 800px){
.tocheck {float:none;}
}
View example.php
<?php //called like this on other template get_template_part_extra('templates/products_accordion',[ 'key'=>'protection'] ); ?>
<div class="row">
<div class="small-12 columns">
<div class="accordion" data-accordion-item>
<h2>
<?php the_field( $template_args['key']."_title" ); ?>
</h2>
<p>
<em>
View get-vw-mixin.scss
$context:960;// size you want to start calculating
@function get-vw($target) {
$vw-context: ($context * .01) * 1px;
@return ($target/$vw-context) * 1vw;
}
//usage
.page-obituary{
h1{
color: #2b6295;
View gist:5662b32b0131643b922526ad39b351f4

first in your functions.php add the following:

//Shortcode to show the module
function showmodule_shortcode($moduleid) {
	extract( shortcode_atts( array('id' =>'*'), $moduleid ) ); 
	return do_shortcode('[et_pb_section global_module="'.$id.'"][/et_pb_section]');
}
add_shortcode('showmodule', 'showmodule_shortcode');

then create your single-customCPT.php file duplicating page.php from divi and look for line 45 :

View recover lubuntu passwd
Then you want to type
mount -o rw,remount /
then for the purposes of lost username type
ls /home
be aware that is a lower case L then s its not an i, this will then give you the username associated with the admin account. Now to reset the password.
View gist:bded72a4e9f5079ab718
a = setInterval(function () {
window.scrollTo(0,document.body.scrollHeight);
$("button.bt-request-buffed[data-act='request']").click();
}, 3000);