Skip to content

Instantly share code, notes, and snippets.

View kristarella's full-sized avatar

Kristen Symonds kristarella

View GitHub Profile
<?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 );
@kristarella
kristarella / index.php
Last active January 24, 2018 01:47 — forked from anonymous/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(); ?>