gcarnegie
Forum Replies Created
-
Forum: Plugins
In reply to: [Photonic Gallery & Lightbox for Flickr, SmugMug & Others] Web Folder albums?I tried Flickr yesterday, but photonic asked me for the API key, and when I tried to get that from Flickr I get the below message:
“In order to mitigate abuse, API key creation is currently disabled for free accounts. API key creation is available to all Flickr PRO subscribers.” – Currently at £8.79 per month, or £60 per year! (definitely not free)
- This reply was modified 1 year, 2 months ago by gcarnegie.
Forum: Developing with WordPress
In reply to: Sorting WP-QUery based on complex criteriaIt’s been a couple of days but figured I would add the solution I came up with in case anyone finds similar issues.
if( ! empty( $edate1)){ $adate1 = $edate1}; // needs the semicolon INSIDE the closing bracket. $adate1 = date('Ymd',$element1->$post_date); // needs to use "strtodate()" // >> $adate1 = date('Ymd',strtodate($element1->$post_date)); '->$post_date' & '->$ID' // - needs the $ taken off it //also changed strcmp to use if statement with explicit returns 0, -1, 1.- This reply was modified 2 years ago by gcarnegie.
Thanks Maria. This solved my problem. Much appreciated.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Vertical Scrolling within cellsThanks Tobias.
I need to learn how to use hooks etc. Currently I can do bits and pieces with php and have updated the file accordingly, but as you say that is not a good way to work. I’ve tweaked a few of my plugins this way (with two or three lines of code modified) and now – as you say – I’m stuck with out of date versions. Would be good to run a comparison with the “stock” code to remind myself of what changes I’ve made and then implement hooks as you suggest to replicate the function.
Do you know of any good resources which will give me exercises etc on the use of hooks and filters etc?Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Vertical Scrolling within cellsThanks Tobias,
I’ve managed to find the view-edit.php file to make the edit table cells a little larger, but can you please let me know which file contains the PHP which renders the user-viewable table? I can’t seem to find it.- This reply was modified 6 years, 1 month ago by gcarnegie.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Single-Cell Edit for usersPerhaps making a single column into editable textareas rather than uneditable text, with a “save” link at the bottom of the table would be the neatest solution.
- This reply was modified 6 years, 1 month ago by gcarnegie.
Forum: Plugins
In reply to: [Contact Form 7] Edit filename using text from other fields.
- This reply was modified 7 years, 4 months ago by gcarnegie.