Skip to content

Instantly share code, notes, and snippets.

View colomet's full-sized avatar

Antonio D. colomet

View GitHub Profile
DELETE FROM wp_og6o50l3ph_options WHERE option_name LIKE '%jpsq_sync-%'
https://wordpress.org/support/topic/jpsq_sync-table-constantly-generated-to-the-db/
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@colomet
colomet / PB_RC-show_in_template_files.php
Last active June 12, 2017 15:03
Pressbooks Related Content - How to show fileds in template files.
<?php
$resources= new Pb_Rc_Chapter('Pressbooks-related-content', '0.1' );
$resources-> print_chapter_r_fields();
?>
@colomet
colomet / metadata_course.php
Last active April 3, 2017 10:30
Schema Metadata (LRMI) - Course
<div itemscope itemtype="http://schema.org/Course">
<meta itemprop='name' content='English' id='name'>
<meta itemprop=' ' content='A1' id=' '>
<meta itemprop=' ' content='CERF' id=' '>
<meta itemprop='description' content='English Subject A1 level' id='description'>
<meta itemprop='provider' content='My Language Skills' id='provider'>
<meta itemprop='learningResourceType' content='Course' id='learningResourceType'>
<meta itemprop='interactivityType' content='Active' id='interactivityType'>
<meta itemprop='typicalAgeRange' content='Adults' id='typicalAgeRange'>
<meta itemprop='timeRequired' content='4' id='timeRequired'>