TechGnome
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: WordPress Hosting ComplaintIT is free advertising… each and every time the google spiders come along and follow the links…. or some one who is curious about what is being said. Next time, break the links up so that they aren’t clickable.
-tg
ps: in the meantime, thanks for reminding me that I even had a wp.com account (lol).Forum: Everything else WordPress
In reply to: Is anyone aware of a user-friendly CMS?1) Define “user-friendly”
2) What features are you looking for?
3) Try https://www.opensourcecms.com/-tg
Forum: Your WordPress
In reply to: Relaunch of my siteDgold – Initially pot by post…. that way the newest writings are presented first. Once I have more of my content back in there, I’ll re-work the archives so that it presents the writings in logical order of the particular story. Things like Thorak’s Tome should be read in order. But areas where there’s short stories, bios, myths, and other writings that stand alone, the ordering isn’t importaint. It’s still rough around the edges, but close enough to put out there.
Root- thanks… good to be back.
-tg
Forum: Your WordPress
In reply to: Relaunch of my siteYeah, it is hard to read…. still in the tweaking stages. I need to futz a little with the archives and the links pages.
It’s good to be back, and thanks for your help. I eventually did figure out the solution to my Archives problem – I forgot that I can create a “Page” template to display the archives the way I want (almost)…. I’m oddly surprised that there isn’t a “Category” option to wp_get_archives but oh well, I found a way around that. Until I can find an alternative….
I think I’m also going to resurrect my old Drop Cap plugin from years back. Depends on how motivated I get.
-tg
Forum: Fixing WordPress
In reply to: Are nested div’s OK?It should be OK…I hope so… my site uses a lot of nested divs.
-tg
Forum: Developing with WordPress
In reply to: How to exclude a category…moshu – thanks… that’s 75% of what I needed…. I see how I can lay it out now…. thanks a bunch.
-tg
Forum: Developing with WordPress
In reply to: How to exclude a category…moshu – Oh cool, so query_post still works? Sweet…. then I have what I need for that (saved from a previous template). I’ll see if that still works for me. If it doesn’t or I have problems, I’ll find a way around it. thanks
tsguitar – not quite… and at the same time, yes. The top post will not always be the last post period… it could be days, weeks, even months old. Underneath that, will be the latest post. If the welcome post is old, it isn’t a problem, EXCEPT when I then update the site news. I don’t want to show it twice….. only once. To get the site news, when I make the post, it’ll get set to the “Site News” category. Then to get it, I use get_posts, setting categoryid = 2 and numofposts = 1…..
Now I needed a way to get the latest post on the site, excluding anything that is in the Site News category. If I simply use get_posts and set numofposts = 1, I’ll get the site news again (since it was the latest post). So if the news item was in fact post #50, then yes, I’d want #49…. today, but tomorrow it could be #56, or #70 if I make new posts.
if you go to the sample site https://tannagh.com/new_site_test/index.html it might help to explain. The section “Welcome” would be the latest news section, followed by the most recent posting.
Then underneath that, I’ll have two posts which are in a Featured category, one on the left, one on the right.
Then (again) under *that* will be a listing of the last 5 – 10 posts (again excluding the news category.)
-tg
Forum: Developing with WordPress
In reply to: Import from WP forum to WP forumI’m not sure what any of this actually has to do with WP.
-tg
Forum: Developing with WordPress
In reply to: is “SELECT DISTINCT *” ever a good idea?Ugh…. are you serious…. there’s SELECT DISTINCT * code in there? If so, I may have to go spellunking though the code and eradicate them. In general, it’s not a good idea to use DISTINCT anything…. unless absolutely necessary. As a matter of practice, I make sure that my where rules out as many dupes as possible…. in those rare caseswhere it’s not sufficient… I find Group Bys to me more effective.
-tg
Forum: Fixing WordPress
In reply to: List of Incoming Links on Dashboard missing – why?Moshu – you should know better than anyone else that no one ever uses the search… that just takes too much time and effort ??
-tg
Forum: Fixing WordPress
In reply to: Link to Archive Index Pagemeh, that’s what I was afraid of…. I’m at the point where I don’t really want (or care to) mess with my htacces file. That does bring up a question: Was your archive page in the site root? Or was it part of your template? I suppose it doesn’t matter, if it’s using the proper wp tags, I could have it in the root…then my link would just point straight to the file. Kinda defeats the purpose of the template, doesn’t it?
-tg
Forum: Fixing WordPress
In reply to: Get rid of CommentsUnless things have changed…. you need to be editing the single.php…. editing the index.php will only take care of the front page. To modify the page where the posts are, edit the single.php.
Forum: Fixing WordPress
In reply to: Comments and the “more” tag.depends on your template. Look in you template folder and see if there is a single.php file…. if there is, then read up on using template files in the codex, https://codex.www.ads-software.com …. you’ll need to add the appropriate code to the single.php.
If there is NOT a single.php file then it uses the one found in the default theme…. copy it your folder, and modify.
https://codex.www.ads-software.com/Template_Tags
-tg
Forum: Fixing WordPress
In reply to: Strike-throughnuhat – do you have a link to the site so we can take a look?
-tg
Forum: Fixing WordPress
In reply to: change $wpdb to global scope for use in widget?Actualy… it’s not the select that’s causing your error…. it’s the foreach code…. for what ever reason, it thinks that $authorsArchives is empty…. I’d suspect the scope of the $authorsArchives rather than $wpdb. But with out more source code, it’s hard to say.
-tg