Amazon Affiliate Tag is a handy little plug-in that will automatically – and retroactively – add the Amazon Tracking ID (which you need in order to cash in on the big Amazon affiliate bucks) to links to Amazon items in your site content.
Once you’ve installed the plug-in and added your Tracking ID on the simple settings page, you shouldn’t have to think about it again, and will be able to link freely to Amazon items without having to get pre-modified links from Amazon or adding the Tracking ID manually. In order to extend the functionality to your comments as well, you can add the following code to your theme functions.php file:
Add Affiiliate Tags to Comments Helper Function
PHP
1
2
3
4
5
6
7
8
9
/**
*Add Affiliate Tags to Amazon Links in Comments
*(for Amazon Affiliate Tags Plug-In)
**/
if(function_exists('AddTag')){
add_filter('comment_text','AddTag');
}
For beginners: We wrap the filter in the function_exists() conditional so that you don’t absent-mindedly disrupt functionality (potentially crash your site in some contexts) the day you for some reason decide to deactivate or remove the plug-in. The add_filter() statement calls the AddTag function from the Amazon Affiliate Tag plug-in whenever the filter comment_text is called – which happens every time a comment is posted to a comment thread.
Seems like a natural to me, and I’ve recommended it to plug-in developer “MaximeB” (Maxime Bridon). Check the changelog on future Amazon Affiliate Tag updates to see if the functionality has been added, with or without further options to disable.
Writing since ancient times, blogging, e-commercing, and site installing-designing-maintaining since 2001; WordPress theme and plugin configuring and developing since 2004 or so; a lifelong freelancer, not associated nor to be associated with any company, publication, party, university, church, or other institution.
Output-Buffering and Extensible WordPress Plug-Ins May 21, 2016 Contrary to my tentative conclusions of a month ago, I now understand at least one good reason to use output-buffering while writing WordPress code. Indeed, I now anticipate using the tool frequently.
Troll-Stomping and Other Sensible Things: #WordPress Plug-In Beta Test/Preview November 12, 2016 It occurred to me the other day or week that it wouldn't be hard to create a jQuery-enabled ignore button, and it wouldn't be too hard to add cookies to make the ignoring persistent, and it wouldn't be too hard to un-ignore, too. While I was at it, and feeling that enabling ignore was kind…
Enabling WordPress Press This for HostGator Sites March 9, 2016 Solution of a problem for bloggers who want to use WordPress Press This on their "shared hosting" accounts at HostGator and possibly at other aggressively security-conscious web hosts.
Finding Lost WordPress Widgets after Core Upgrade March 21, 2016 Just a quick note on fixing problem affecting one of my favorite WordPress Plug-Ins in use at this site, and possibly affecting many others as well.
To o-b or not to o-b (output-buffering in WordPress) - UPDATED April 24, 2016 My general impression is that, unless I have a very good reason for using it - probably involving the kind of script in which I'm not generally interested at this time - I should avoid it.
Getting to Better WordPress Twitter oEmbed June 28, 2016 1) The content of deleted tweets, if ever previously fetched and rendered, should remain "there" in an affected post's post meta, and 2) it should be quite possible to emulate the rendering process programmatically, whether for the sake of presenting deleted tweets in a way that marks them as such and also harmonizes aesthetically with…
jQuery-Filling an Input Box in WordPress Admin July 15, 2016 ...on how I think a textbox should be filled in WordPress Admin... from simple anchor links... and when the content - in this instance long image links - is too long to be nicely contained... plus some little tricks and things I never noticed or noticed I'd noticed before...
Commenter Ignore Button Plug-In Now Available from the WordPress Repo January 24, 2017 Commenter Ignore Button (CIB) lets a user to put one or more commenters "on ignore." To have such an option enabled is a frequent request at blogs and other sites where comment threads are plagued by trolls or other problematic commenters, but where site operators prefer to err on the side of open discussion -…
Customizing the Intercom Launcher for WordPress March 25, 2018 Intercom is a relatively recently created cross-platform messaging tool, in use at around 25,000 sites, whose "Inbox" app or sub-app can work as a slick customer support/interaction alternative to older systems like ZenDesk. It will work out of the virtual box in WordPress, and some aspects of its appearance and other features can be managed…
Extraordinary Comments October 3, 2016 Highlight extraordinary comments where they appear in threads, display them in a widget, archive, or both.
Comments on "Islam is the rock on which the liberal order broke?" December 7, 2016 History may instead record that what broke this latest "liberal order" (a typical contradiction in terms), as before and likely again, as inevitably, was the latest liberal order itself. Yet historians may alternatively - or also - someday record that it was liberalism that finally broke Islam or the Islamic Order, and, perhaps, in so…
The Coordination Solution, Property, and the Exception (Comment) February 14, 2016 The necessary transtemporal and social re-construction of the identity of the individual is a process we conventionally define as a matter of “religion,” and a common materialist explanation of religion refers precisely its utility as coordination solution, and so we’re back to where we began, with the littlest possible story, of one person and his…
Who or What Is Using "Commenter Archive" and "commenter-thread"? February 16, 2016 If any of you human beings have anything to say on the major uptick in use of these commenting features, please let me know. The spiders and robots don't answer questions directly.
The League vs Trump - Super Doomsday Open Thread and Twitter List March 1, 2016 If we need a clearer definition of our mission - as I think we do - we could do worse for a starting point than "Negation of Trump," but that thought also implies that it's significantly our fault that Trumpism is on the verge of taking over the universe...
You're Welcome and Rightbackatcha March 8, 2016 I learned a lot WordPressing at OT, and wish the best to everyone over there - a group that as a matter of fact still includes me, if in a much-reduced role. So, you're welcome, and right backatcha.
Defense and Defense Mechanisms March 24, 2016 Diehl assesses the Obama Doctrine, or Jeffrey Goldberg's Obama's Obama Doctrine, as, in a word, neurotic - as much a psychological construct or defense mechanism as a policy - enabling the President minimize the importance of any setbacks, the alternative being emotionally intolerable.
Conservatism and the Plainly Visible March 24, 2016 The political problem for American conservatives in this era seems to me more complex, but at the same time less intractable, than a simple juxtaposition of the visible (or "envisionable") vs. the unseen.
Si Vis Bellum, Part 1: "Militarism" and "Interventionism" December 8, 2016 The un-clarity or confusion, or confusion of confusions, regarding the meaning of these two terms is typical of this historical moment, which in one sense can be thought to have simply befallen us, having never been willed into existence by anyone, but in another sense can be viewed as the predictable and desired product of…
Plug-In Away... and the Iron Law of Irony April 16, 2016 Seems fitting and probably should have been predictable - for a believer in the Iron Law of Irony - that an application meant to facilitate blogging, in this case by making aggregation of interesting material an easy "few clicks" operation, would annihilate my blogging. Anyway, is what happened.
Comment at American Creation on Strauss and the Problem of Belief May 6, 2016 A remark about philosophers is not the same thing as a philosophical remark, and considering it philosophically is different from considering it in terms of, say, intellectual history.
Replace Unlicensed and Broken Images June 13, 2016 Selectively replace unlicensed, broken, and other problematic images on a site's public-facing "Front End."
Download (with Changelog and Roadmap) June 13, 2016 Changelog (maintenance changes and minor text edits to "Beta" version of the plug-in will not always be noted below). 1.05 - Improved PHP "diction"; other minor fixes; compatibility with WP 4.7.3 confirmed 1.01 - Fixed missing "</div>" in "badge-links" that could disrupt some layouts. 1.0 - Now available at WordPress Repository. 0.993-5 - Updated image/link-finding Regex;…
Getting Right with Image Rights: WP Replace Unlicensed and Broken Images Plug-In June 17, 2016 A primary use for WP-RUBI will be at sites where administrators have decided to remove images that have been used either without permission or under lapsed or lapsing usage licenses: Proper employment will help to reduce or eliminate legal and actual "exposure" quickly and easily, without harming the site's search engine rankings and while preserving…
Getting Right with Image Rights: Workflow and Major Minor Upgrade June 27, 2016 I discovered many non-rights-cleared images that I now think may have detracted from the posts in some ways, even if they initially seemed to make them more attractive or striking.
Devoted and Selfless Consecration June 30, 2016 The sacred essence of the American state is not a common topic of discussion, but the state or nation or country itself, or we ourselves, on behalf of itself or on behalf of ourselves, deems or deem it the proper topic in relation to the final questions.
An Alliance of Digital Artists (Art and Work in the Age of Instant Reproducibility) July 8, 2016 If the Digital Artists Alliance never amounts to more than a temporary reference point, the basis for a gesture of respect by some site operators toward an ideal, then that will be enough for me, but I invite anyone interested in exploring larger possibilities to join me.
Comparative Page Loads with and without Image Errors July 14, 2016 This benefit of WP-RUBI is additional to the one of avoiding "the $8,000 mistake" of using unlicensed images, but for some sites will be much more important.
Scrap It and Start Over August 17, 2016 A failure presents a limited range of options: scrap, salvage, or repair. Though it feels like we’ve done this before, let’s try “repair” one more time. Why? The site makes no sense as an enterprise - decreasingly as any kind of proposition for anyone involved. The editors voted against "repair" last March, and "salvage" will continue…
Filters and Hooks August 27, 2016 This page will be further developed and organized as additional use cases are identified and documented. Hooks and Filters Anyone using hooks and filters should be sophisticated enough to search the plug-in files - mainly in "construct.php" - for "do_action" and "apply_filters." A list has been provided below, but note that these are continually being…
Download (With Changelog and Installation Notes) September 20, 2016 Installation 1. Install and activate the plugin 2. DE-ACTIVATE CATEGORY FEATURED IMAGES IF ACTIVATED ((As a futher precaution, do not uninstall CFI completely until you are sure that CFIX is working as expected for you.)) 2. Go to "Posts/Categories" 3. Edit a category 4. Set the category featured image 5. Go to "Settings/Category Featured Images…
Download (with Changelog and Installation Notes) October 14, 2016 First Public Versions: 0.8 Beta (Uploading soon to Wordpress Repository as 1.0) EXTRAORDINARY COMMENTS IS INTENDED FOR STANDARD WORDPRESS COMMENT THREADS This plug-in will not work with 3rd Party commenting systems like Disqus or Facebook Comments, and either may not function or may require specialized adjustments to work with other custom commenting set-ups or plug-ins. Installation Install…
Shortcode and CSS Reference October 14, 2016 Shortcode/PHP Functions To add an Extraordinary Comments Archive to a Page or Post, simply add the code . Added to a Post or Page, it will create a list of all featured comments, without pagination, bottom-right link or unique table title. You can adjust the output using any of the following arguments: Optional Arguments: 'number_comments':…
Download (Includes Installation Instructions and Changelog) December 8, 2016 Note that CIB is designed for standard or standards-compliant WordPress comment threads. CIB has been written to work "out of the box" with standard WordPress comments and several common variations. In testing, the default setting worked as intended, in a a few cases after minimal adjustments without custom CSS or PHP, with 96 out of…
Download and Changelog February 17, 2017 Version 0.95 Beta - approved for WordPress Plugin Repository, awaiting some proofreading and possibly final tests.
TV pundits and op-ed writers of every major newspaper epitomize how the Democratic establishment has already reached a consensus: the 2020 nominee must be a centrist, a Joe Biden, Cory Booker or Kamala Harris–type, preferably. They say that Joe Biden should "run because [his] populist image fits the Democrats’ most successful political strategy of the past generation" (David Leonhardt, New York Times), and though Biden "would be far from an ideal president," he "looks most like the person who could beat Trump" (David Ignatius, Washington Post). Likewise, the same elite pundit class is working overtime to torpedo left-Democratic candidates like Sanders.
For someone who was not acquainted with Piketty's paper, the argument for a centrist Democrat might sound compelling. If the country has tilted to the right, should we elect a candidate closer to the middle than the fringe? If the electorate resembles a left-to-right line, and each voter has a bracketed range of acceptability in which they vote, this would make perfect sense. The only problem is that it doesn't work like that, as Piketty shows.
The reason is that nominating centrist Democrats who don't speak to class issues will result in a great swathe of voters simply not voting. Conversely, right-wing candidates who speak to class issues, but who do so by harnessing a false consciousness — i.e. blaming immigrants and minorities for capitalism's ills, rather than capitalists — will win those same voters who would have voted for a more class-conscious left candidate. Piketty calls this a "bifurcated" voting situation, meaning many voters will connect either with far-right xenophobic nationalists or left-egalitarian internationalists, but perhaps nothing in-between.
Understanding Trump’s charisma offers important clues to understanding the problems that the Democrats need to address. Most important, the Democratic candidate must convey a sense that he or she will fulfil the promise of 2008: not piecemeal reform but a genuine, full-scale change in America’s way of thinking. It’s also crucial to recognise that, like Britain, America is at a turning point and must go in one direction or another. Finally, the candidate must speak to Americans’ sense of self-respect linked to social justice and inclusion. While Weber’s analysis of charisma arose from the German situation, it has special relevance to the United States of America, the first mass democracy, whose Constitution invented the institution of the presidency as a recognition of the indispensable role that unique individuals play in history.
[E]ven Fox didn’t tout Bartiromo’s big scoops on Trump’s legislative agenda, because 10 months into the Trump presidency, nobody is so foolish as to believe that him saying, “We’re doing a big infrastructure bill,” means that the Trump administration is, in fact, doing a big infrastructure bill. The president just mouths off at turns ignorantly and dishonestly, and nobody pays much attention to it unless he says something unusually inflammatory.On some level, it’s a little bit funny. On another level, Puerto Rico is still languishing in the dark without power (and in many cases without safe drinking water) with no end in sight. Trump is less popular at this point in his administration than any previous president despite a generally benign economic climate, and shows no sign of changing course. Perhaps it will all work out for the best, and someday we’ll look back and chuckle about the time when we had a president who didn’t know anything about anything that was happening and could never be counted on to make coherent, factual statements on any subject. But traditionally, we haven’t elected presidents like that — for what have always seemed like pretty good reasons — and the risks of compounding disaster are still very much out there.