Skip to content

Instantly share code, notes, and snippets.

Puneet Sahalot psahalot

Block or report user

Report or block psahalot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@psahalot
psahalot / .htaccess
Created Mar 27, 2019
Adjust Apache service limits for Elementor
View .htaccess
<IfModule mod_substitute.c>
SubstituteMaxLineLength 30m
</IfModule>
LimitRequestBody 9999999
@psahalot
psahalot / layout-css.css
Created Oct 16, 2018
Custom Layout 3 Demo CSS
View layout-css.css
.pp-content-grid-post {
font-size: 14px;
background: #3F51B5 !important;
height: 500px !important;
}
.pp-content-grid-post-image {
padding: 0;
position: relative;
}
.pp-content-grid-post-image a img {
@psahalot
psahalot / layout-html.html
Last active Oct 16, 2018
Custom Layout 3 Demo HTML
View layout-html.html
[wpbb-if post:featured_image]
<div class="pp-content-grid-post-image">
[wpbb post:featured_image size="large" display="tag" linked="yes"]
<div class="pp-content-grid-post-text">
<h3 class="pp-content-grid-post-title">[wpbb post:link text="title"]</h3>
<div class="pp-content-grid-post-meta">
[wpbb post:date format="F j, Y"]
</div>
</div>
@psahalot
psahalot / layout-css.css
Last active Oct 16, 2018
Custom Grid Demo 2 CSS
View layout-css.css
.pp-content-grid-post {
font-size: 14px;
border: 1px solid #fff !important;
background: #F44336 !important;
}
.pp-content-grid-post-image {
padding: 0;
position: relative;
}
.pp-content-grid-post-image a img {
@psahalot
psahalot / layout-html.html
Last active Oct 16, 2018
Custom Grid Demo 2 HTML
View layout-html.html
[wpbb-if post:featured_image]
<div class="pp-content-grid-post-image">
[wpbb post:featured_image size="large" display="tag" linked="yes"]
<div class="pp-content-grid-post-text">
<h3 class="pp-content-grid-post-title">[wpbb post:link text="title"]</h3>
<div class="pp-content-grid-post-meta">
[wpbb post:date format="F j, Y"]
</div>
</div>
@psahalot
psahalot / off-canvas-search.php
Last active Nov 18, 2018
add search box to off-canvas menu
View off-canvas-search.php
// Advanced Menu - off-canvas before menu items
function wpba_demo_offcanvas_menu_before( $type, $settings, $id ) { ?>
<style>
.wpba-menu-content { margin-top: 50px; padding: 40px; padding-bottom: 10px; }
</style>
<div class="wpba-menu-content">
<div class="wpba-menu-search">
<?php echo get_search_form(); ?>
</div>
<h3>About us</h3>
@psahalot
psahalot / merge-tags.txt
Created Aug 17, 2018
Style Parameters for WPfomify's merge tags
View merge-tags.txt
{{city | bold}}
{{name | bold }}
{{name | color:red}}
@psahalot
psahalot / layout-style.css
Created Jun 7, 2018
Content Grid Custom Layout CSS
View layout-style.css
.pp-content-grid-post {
font-size: 14px;
}
.pp-content-grid-post-image {
padding: 0;
position: relative;
}
.pp-content-grid-post-image a img {
filter: saturate(1.6) contrast(1.1);
opacity: 1;
@psahalot
psahalot / layout-html.html
Created Jun 7, 2018
Content Grid Custom Layout
View layout-html.html
[wpbb-if post:featured_image]
<div class="pp-content-grid-post-image">
[wpbb post:featured_image size="large" display="tag" linked="yes"]
<div class="pp-content-grid-post-text">
<h3 class="pp-content-grid-post-title">[wpbb post:link text="title"]</h3>
<div class="pp-content-grid-post-meta">
[wpbb post:date format="F j, Y"]
</div>
</div>
@psahalot
psahalot / change-toggle-menu-icon.php
Created May 3, 2018
Change Menu Icon for PowerPack Advanced Menu Module
View change-toggle-menu-icon.php
/* Change Menu Icon for PowerPack Advanced Menu Module */
function pp_custom_menu_icon() { ?>
// Add your custom HTML or SVG code here
<?php }
add_filter('pp_advanced_menu_icon', 'pp_custom_menu_icon');
You can’t perform that action at this time.