HalAtkins
Forum Replies Created
-
Forum: Plugins
In reply to: [Airpress] Use URL parameter to retrieve (and display) AirTable record?Messaging you now…..thanks for the support!
Forum: Fixing WordPress
In reply to: Need help creating simple formThanks, Rod.
Forum: Plugins
In reply to: [HTML Import 2] Difficulty importing into custom fieldsThe ACF fields are set to “Convert HTML into tags”. I’ll post in example snippet of code from one of our HTML files – the relevant divs that I utilizing to import content into the custom fields:
<div id="ehp-authors"> <p class="authors">Seung-Hyun Cho,<sup>1</sup><sup>,</sup><sup>2</sup><sup>,</sup><sup>3</sup> Haiyan Tong,<sup>1</sup> John K. McGee,<sup>1</sup> Richard W. Baldauf,<sup>2</sup><sup>,</sup><sup>4</sup> Q. Todd Krantz,<sup>1</sup> M. Ian Gilmour<sup>1</sup></p> </div>A second div:
<div id="ehp-abstract"> <h3>Background</h3> <p class="abstract">Epidemiologic studies have reported an association between proximity to highway traffic and increased cardiopulmonary illnesses.</p> <h3>Objectives</h3> <p class="abstract">We investigated the effect of size-fractionated particulate matter (PM), obtained at different distances from a highway, on acute cardiopulmonary toxicity in mice.</p> <h3>Methods</h3> <p class="abstract">We collected PM for 2 weeks in July–August 2006 using a three-stage (ultrafine, < 0.1 μm; fine, 0.1–2.5 μm; coarse, 2.5–10 μm) high-volume impactor at distances of 20 m [near road (NR)] and 275 m [far road (FR)] from an interstate highway in Raleigh, North Carolina. Samples were extracted in methanol, dried, diluted in saline, and then analyzed for chemical constituents. Female CD-1 mice received either 25 or 100 μg of each size fraction via oropharyngeal aspiration. At 4 and 18 hr postexposure, mice were assessed for pulmonary responsiveness to inhaled methacholine, biomarkers of lung injury and inflammation; <em>ex vivo</em> cardiac pathophysiology was assessed at 18 hr only. </p> <h3>Results</h3> <p class="abstract">Overall chemical composition between NR and FR PM was similar, although NR samples comprised larger amounts of PM, endotoxin, and certain metals than did the FR samples. Each PM size fraction showed differences in ratios of major chemical classes. Both NR and FR coarse PM produced significant pulmonary inflammation irrespective of distance, whereas both NR and FR ultrafine PM induced cardiac ischemia–reperfusion injury.</p> <h3>Conclusions</h3> <p class="abstract">On a comparative mass basis, the coarse and ultrafine PM affected the lung and heart, respectively. We observed no significant differences in the overall toxicity end points and chemical makeup between the NR and FR PM. The results suggest that PM of different size-specific chemistry might be associated with different toxicologic mechanisms in cardiac and pulmonary tissues.</p> </div>And a third:
<div id="ehp-citation"> <p class="cit"><em>Environ Health Perspect</em> 117:1682—1689 (2009). http://dx.doi.org/10.1289/ehp.0900730 </p></div>Forum: Fixing WordPress
In reply to: Show one category on index.phpThanks, TG-
Works well, and appreciate your help. I understand, setting the $cat variable – out of interest, what is the $blog variable? Is it for multiple blogs on the site?
HalForum: Fixing WordPress
In reply to: Show one category on index.phpTG –
Where do you put that code? In the loop?
Thanks,
Hal AtkinsForum: Fixing WordPress
In reply to: I’m losing sleep over thisNick, wish I could “pay it forward” and help you – but I can’t. I put in the code that Stevarino gave me, and at first it didn’t work. Checked back 15 minutes later, and it did work. It’s got a life of its own.
I can say that, yes, it does need to be in the “wordpress” directory. Good luck.Forum: Fixing WordPress
In reply to: I’m losing sleep over thisHoly cow. It just started to work.
These things, I just don’t understand.
Stevarino – I owe you some cookies. Thanks a bunch!Forum: Fixing WordPress
In reply to: I’m losing sleep over thisIs there a way to turn permalinks off?
Forum: Fixing WordPress
In reply to: I’m losing sleep over thisThanks again, Stevarino – but still to no avail. Is there anyway to get in and diagnose the thing?
By the way, what did you mean about double-encoding the ampersand?
HalForum: Fixing WordPress
In reply to: I’m losing sleep over thisWell, that’s interesting. Didn’t get a 404 error with that one – but it seems like it tried to call the “index.php” that is at the top level of my site. In other words, the permalink went after:
moravianchurch.org/index.php
when it should be going after index.php that’s in the “webpress” directory:
moravianchurch.org/webpress/index.php
Stevarino, I can’t tell you much I appreciate you trying on this. Any more ideas?Forum: Fixing WordPress
In reply to: How to add a template?Sorry, I wasn’t very descriptive in my question. I wasn’t trying to switch the style, just finding a way to get a digest of recent posts up on the home page. Let me try again to ask my question.
On the church’s home page, I want to have a portion of the page show the five most recent posts in one category (“news”) and then another portion display the most recent post in another categorty (“daily devotion”). I thought the best way to do this would be to have a PHP include call to templates within wordpress – templates that would only serve to dig out the posts from different categories. My lame attempt at a CMS, I guess.
Is this possible, or is there a better solution?