Skip to content

Instantly share code, notes, and snippets.

Avatar

Kristen Symonds kristarella

View GitHub Profile
View index.php
<?php get_header(); ?>
<!-- BEGIN PAGE -->
<div id="page">
<?php if (of_get_option('promax_latest' ) =='1' ) {get_template_part('/includes/ltposts');} ?>
<div id="page-inner" class="clearfix">
<div id="content">
<div class="posthd"><?php promax_tiltechange(); ?></div>
<div class="three-columns group">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
View plugin-search.php
<?php
function plugins( $search ) {
$num = 10;
$order = 'ASC';
$orderby = 'name';
$fields = 'URL,title';
$url = 'https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request[search]='.urlencode( $search );
You can’t perform that action at this time.