{"id":558,"date":"2004-03-22T17:39:20","date_gmt":"2004-03-23T00:39:20","guid":{"rendered":"\/?p=558"},"modified":"2004-10-01T13:54:38","modified_gmt":"2004-10-01T17:54:38","slug":"another-request-for-technical-assistance","status":"publish","type":"post","link":"https:\/\/timesandseasons.org\/index.php\/2004\/03\/another-request-for-technical-assistance\/","title":{"rendered":"Another Request for Technical Assistance"},"content":{"rendered":"<p>Since the <a href=\"http:\/\/timesandseasons.org\/archives\/000399.html\">last request for technical assistance <\/a>was a resounding success, I&#8217;m hoping to duplicate the feat.  The current question involves a moderately advanced (or at least, beyond my current skill) movable type question and a bit of HTML (the query string function).  Here goes:<br \/>\n<!--more--><br \/>\nWe currently have a lot of authors, and we&#8217;re getting a lot of guests.  Right now individual author and guest pages have to be made by hand.  The particularly annoying one is the guest page, which right now is coded:<\/p>\n<p>MTEntries author=&#8221;Ady&#8221;<br \/>\n. . .a bunch of coding for Ady&#8217;s entries. . .<br \/>\n\/MTEntries<br \/>\nMTEntries author=&#8221;Claudia&#8221;<br \/>\n. . .identical copy of the posting code . . .<br \/>\n\/MTEntries<br \/>\nMTEntries author=&#8221;Dan&#8221;<br \/>\n. . .yet another identical copy of the posting code . . .<br \/>\n\/MTEntries<br \/>\nMTEntries author=&#8221;Linda&#8221;<\/p>\n<p>and so forth.  This means that the guest page needs to be updated every two weeks, that I have to copy and paste the full MT post code (a page of code), modify it for the new guest author, and so on.<\/p>\n<p>It dawned on me that, if I could get the MTEntries tag to work properly with a Query String function, it would make a lot of my work go away.  (Also, it would cut down on the size of the guests page, which is getting miles and miles of identical code for each new guest).<\/p>\n<p>I&#8217;m hoping for some way to do this; I don&#8217;t know enough about MT to make it work at the moment.  Here is what I would like to eventually accomplish:  <\/p>\n<p>I&#8217;m hoping for a web address like:<br \/>\nhttp:\/\/timesandseasons.org\/authors.php?author=nate<\/p>\n<p>to translate into MTEntries author=&#8221;nate&#8221; on a PHP index page designed for individual authors posts.  Once it&#8217;s set up (if it works), the same page would work for all of the authors (with different query strings resulting in different author= values).  After that, I&#8217;ll just have to update links, which will be so much easier.<\/p>\n<p>So, my current needs are:<\/p>\n<p>1.  How to get a value into the MTEntries field.  All of my current attempts, I&#8217;m embarrassed to say, have resulted in MT thinking that I was looking for an author named &#8220;value&#8221; rather than the variable I was trying to assign to &#8220;value.&#8221;  (That is, I&#8217;ve tried typing &#8220;author_value = &#8216;adam'&#8221; in various places and then entering &#8220;MTEntries author=&#8217;author_value'&#8221;; every time so far, MT has thought the I want it to display posts by a person named author_value).<\/p>\n<p>2.  I can probably figure out query string rules (I hope), but any tips on that are also appreciated.<\/p>\n<p>EDIT:  I originally posted this with the > and < that MT puts into its code but they didn't post properly, so they have been removed.\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since the last request for technical assistance was a resounding success, I&#8217;m hoping to duplicate the feat. The current question involves a moderately advanced (or at least, beyond my current skill) movable type question and a bit of HTML (the query string function). Here goes:<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-558","post","type-post","status-publish","format-standard","hentry","category-administrative"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/posts\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/comments?post=558"}],"version-history":[{"count":0,"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/posts\/558\/revisions"}],"wp:attachment":[{"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/media?parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/categories?post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/timesandseasons.org\/index.php\/wp-json\/wp\/v2\/tags?post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}