WStringer2
Forum Replies Created
-
Forum: Networking WordPress
In reply to: .htaccess redirect weirdness from blogs.dir/#/filesWorked like a charm…thanks Ipstenu!
Forum: Fixing WordPress
In reply to: Add excerpt to my WP_queryThanks for posting the solution!
Hi sackerman…funny you should ask, this is something I just got working this morning.
There may be a better way, but here’s how I did it:
- Add an ID to the “Read More” image:
[expand title="<img id='readMoreImg' src='imgs/read-more.jpg' />" trigclass="noarrow" tag="div"] - Add some jQuery (after the [/expand] tag) that will add an “onClick” event to the image.
- Set up the onClick event to call the GA event tracking, then return true (so Collapse-O-Matic will keep working after the event is called)
So my jQuery looks something like this:
<script type="text/javascript"> jQuery("#readMoreImg").attr("onClick", "_gaq.push(['_trackEvent', 'ReadMore', 'Clicked', 'Event Title Goes Here']);return true"); </script>Hope this helps!
Forum: Fixing WordPress
In reply to: "Memory exhausted" errors after importing 17K pagesVery nice….thanks for following up! Pagemash works great!
Forum: Fixing WordPress
In reply to: "Memory exhausted" errors after importing 17K pagesBueller……..Bueller….
- Add an ID to the “Read More” image: