Skip to content

Instantly share code, notes, and snippets.

View cmehrabian's full-sized avatar

Cameron Mehrabian cmehrabian

  • Santa Cruz - California
View GitHub Profile
<div id="crawler-ad">
<div id="crawler-close">
<button><img src="http://wp.livecareer.pt/wp-content/uploads/2015/04/close-2.png"></button>
</div>
<div>
<p class="left-text"><b>Currículos. Não têm de ser uma tarefa penosa.</b><br><span style="font-size:11px;">Nós fazemos com que seja fácil criar um currículo em minutos!</span></p>
<p class="right-text"><a id="ModalBottom" href="http://www.livecareer.pt/membership/RegisterGuestUser.aspx" class="button button-orange button-arrow">Crie Já um Currículo</a></p>
</div>
<!-- http://web.archive.org/web/20161230144148/https://www.livecareer.com/quintessential -->
<div id="navigation" style="display:none;">
<div class="close" style="display:none;" >
</div>
<nav class="nav">
<ul class="ul1">
<li><a href="https://www.livecareer.com/quintessential/student" itemprop="url"><span itemprop="name">Student</span></a></li>
<li><a href="https://www.livecareer.com/quintessential/job-seeker" itemprop="url"><span itemprop="name">Job-Seeker</span></a></li>
<li><a href="https://www.livecareer.com/quintessential/career-changer" itemprop="url"><span itemprop="name">Career-Changer</span></a></li>
<li><a href="https://www.livecareer.com/quintessential/career-counselor" itemprop="url"><span itemprop="name">Career Counselor</span></a></li>
This file has been truncated, but you can view the full file.
[{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1300,"JobTitle":"Account Coordinator ","TemplateTypeCD":"MNGM"},
{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1301,"JobTitle":"Account Director ","TemplateTypeCD":"MNGM"},
{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1302,"JobTitle":"Account Executive ","TemplateTypeCD":"MNGM"},
{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1304,"JobTitle":"Account Executive, Advertising ","TemplateTypeCD":"SACM"},
{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1305,"JobTitle":"Account Executive, Freight Forwarding ","TemplateTypeCD":"SACM"},
{"CategoryID":7249,"Category":"Accounting and Finance","SubCategoryID":7283,"SubCategory":"Accountants","Id":1306,"JobTitle":"Acc
<?php
/**
* Modify wp-admin dashboard for page_editor roles
*/
add_action( 'admin_init', 'my_remove_editor_menu_pages' );
function my_remove_editor_menu_pages() {
global $user_ID;
if ( current_user_can( 'page_editor' ) ) {
remove_menu_page( 'vls_gallery_factory' );
}
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );
//* Setup Theme
include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
//* Set Localization (do not remove)
load_child_theme_textdomain( 'altitude', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'altitude' ) );
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );
//* Setup Theme
include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
//* Set Localization (do not remove)
load_child_theme_textdomain( 'altitude', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'altitude' ) );
add_action( 'genesis_entry_content', 'show_text_area' );
function show_text_area() { ?>
<div class="menu_container">
<p class="menu_head"><span class="plusminus">Show Text</span><a class="show-text-link" href="http://www.myperfectresume.com/membership/RegisterGuestUser.aspx?wizard=true&productid=17">Create a Resume Like This</a></p>
<div class="menu_body" style="display: none;">
<?php the_secondary_content( 'Show Text Area' ); ?>
</div>
</div>
<?php
RewriteEngine On
RewriteRule ^/?googleee10a894f7a0cc4f.html - [L]
#1 to 1 rewrites
RewriteRule ^articles/rprotsik.html$ https://www.myperfectresume.com/how-to/career-resources/articles-rprotsik? [L,R=301]
RewriteRule ^articles/idealjob.html$ https://www.myperfectresume.com/how-to/career-resources/articles-ideal-job? [L,R=301]
RewriteRule ^careers.html$ https://www.myperfectresume.com/how-to/career-resources/explore-careers? [L,R=301]
RewriteRule ^contact.html$ https://www.myperfectresume.com/how-to/career-resources/about/? [L,R=301]
RewriteRule ^eresume.html$ https://www.myperfectresume.com/how-to/career-resources/business/? [L,R=301]
<?php
add_action('genesis_after_content', 'load_more_pages');
function load_more_pages() {
global $post;
if( is_page() && $post->post_parent == 2) {
$industries = array(2756, 9781, 2757, 2758, 2759, 9758, 2761, 2762, 2763, 2764, 2765, 2766, 2768, 2769, 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777, 9801, 2779, 2780, 2781, 2784, 9824, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 9867, 9886, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 5967, 5971);
<?php
// Infinite Scroll
add_action('genesis_after_content_sidebar_wrap', 'load_more_pages');
function load_more_pages() {
global $post;
if( is_page(4782) || $post->post_parent == 4782 ) {
$args = array(
'post_type' => 'page',
'post_parent' => 4782,