This file contains 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
/* Add the following right after the Form widget as HTML widget */ | |
/* Assume name field with id="name" and email field with id="email" */ | |
<script> | |
jq2 = jQuery.noConflict(); | |
jq2(function( $ ) { | |
$(":submit").click(function(event){ | |
let name = $("#form-field-name").val(); | |
let email = $("#form-field-email").val(); | |
// alert('submit clicked name='+name + " email="+email+"<<"); | |
if ((name === undefined || name === "") && $('#name-err').length === 0) |
This file contains 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 | |
// Display '...' on post titles in arcive pages | |
// Limit is 10 (default) if not defined in option: 'post_title_max_words' | |
// Range of values: 1..20. | |
// The non trivial issue is to affect only relevant post titles | |
// and ignore menu post titles and archive page post title | |
function s2g_short_post_title( $title, $id = null ) { | |
static $arc_data = null; | |
if (is_null( $id )) return $title; // ignore |
This file contains 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
# Copyright (C) 2012 WP Survey And Quiz Tool | |
# This file is distributed under the same license as the WP Survey And Quiz Tool package. | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: WP Survey And Quiz Tool 2.12\n" | |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-survey-and-quiz-tool\n" | |
"POT-Creation-Date: 2012-12-06 13:51:41+00:00\n" | |
"MIME-Version: 1.0\n" | |
"Content-Type: text/plain; charset=UTF-8\n" | |
"Content-Transfer-Encoding: 8bit\n" |