This file contains 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
add_filter( 'pre_get_posts', 'my_get_posts' ); | |
function my_get_posts( $query ) { | |
if ( is_home() && $query->is_main_query() ) | |
$query->set( 'post_type', array( 'emd_ticket' ) ); | |
return $query; | |
} |
This file contains 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
<h1 class="text-center text-primary">Welcome to WordPress Codex Knowledge Center</h1> | |
<h3 class="text-center text-danger">Start Searching Here</h3> | |
<div class="text-center"><i class="fa fa-hand-o-down fa-3x"></i></div> | |
[knowledgebase_home] | |
<h3 class="text-warning">Featured Videos</h3> | |
[std_embed_wall filter="attr::emd_video_featured::is::1;"] | |
<h3 class="text-warning">Featured Term Definitions</h3> | |
[std_panel filter="attr::emd_panel_featured::is::1;"] |
This file contains 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
[std_article_wall] |
This file contains 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
[int_documenter] |
This file contains 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
[std_video_wall] |
This file contains 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
[std_panel] |
This file contains 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
[std_articles filter="tax::kb_group::is::basic;attr::emd_article_featured::is::1;"] |
This file contains 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
[std_embed_wall filter="tax::kb_group::is::advanced;"] |
This file contains 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
[std_recent_articles set="glob::glb_recent_articles_title::is::Recent Content;"] |
This file contains 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
<div id="map-icon"> | |
<a id="maplink" title="Map It" data-toggle="modal" data-target="#mapmodal"> | |
<img src="IMGDIR/mapit_small.png"> | |
</a> | |
<div class="modal fade emd-bs-modal" id="mapmodal" role="dialog"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div style="position:absolute;top:0;right:0;z-index:2"> | |
<a class="close" data-dismiss="modal" aria-label="Close"> | |
<img aria-hidden="true" src="IMGDIR/close.png"> |
OlderNewer