This file contains hidden or 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
| {% extends "base.html" %} | |
| {% block content %} | |
| <p>(Article content here.)</p> | |
| <p>Send us your thoughts:</p> | |
| <form action="{% pageurl page %}" method="POST"> | |
| {% csrf_token %} |
This file contains hidden or 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
| <?php | |
| add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); | |
| function my_theme_enqueue_styles() { | |
| $parent_style = 'sparkling-style'; // This is 'sparkling-style' for the sparkling theme. | |
| wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); | |
| wp_enqueue_style( 'child-style', | |
| get_stylesheet_directory_uri() . '/style.css', | |
| array( $parent_style ), |
This file contains hidden or 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
| <?php | |
| /** | |
| * Plugin Name: List Custom Taxonomy Widget | |
| * Plugin URI: http://celloexpressions.com/plugins/list-custom-taxonomy-widget | |
| * Description: Widget that displays category listings for custom post types (custom taxonomies). | |
| * Version: 4.1 | |
| * Author: Nick Halsey | |
| * Author URI: http://celloexpressions.com/ | |
| * Tags: custom taxonomy, custom tax, widget, sidebar, category, categories, taxonomy, custom category, custom categories, post types, custom post types, custom post type categories | |
| * License: GPL |
This file contains hidden or 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
| from ckeditor.widgets import CKEditorWidget | |
| from django import forms | |
| from django.contrib import admin | |
| from django.db import models | |
| from django.utils import timezone | |
| from .models import Post | |
| class PostAdminForm(forms.ModelForm): |
This file contains hidden or 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
| import argparse | |
| import os | |
| import logging | |
| import re | |
| from curl_cffi import requests | |
| import time | |
| # A script to download missing images used in href and src attributes | |
| # | |
| # If you have a directory that's an archive of your TypePad site at |
OlderNewer