Author:
erics, January 5th, 2021
|
global $wp; $slug_missing_outside_slashes = add_query_arg( array(), $wp->request ); $current_url = home_url( $slug_missing_outside_slashes ); $form_action = '/' . $slug_missing_outside_slashes . '/'; |
https://codex.wordpress.org/Determining_Plugin_and_Content_Directories
Categories: How-To's, Technology Tags: Current, howto, Page, Path, Slug, tips, URI, URL, WordPress
|
No comments
Author:
erics, November 15th, 2012
git rev-parse –abbrev-ref HEAD
Categories: How-To's, Technology Tags: Branch, Checked Out, Checkout, Current, git, howto, tips
|
No comments
Author:
erics, April 18th, 2011
|
var SelectedValue = jQuery('#PickList').val(); var SelectedText = jQuery('#PickList :selected').text(); if (SelectedValue) { alert('You chose: '+SelectedText); } |
Categories: How-To's, Technology Tags: Current, jQuert, option, select, selected, text(), val()
|
No comments