tictok
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post content ( the_content() ) in lightbox or modal window?coopersita, your solution (https://www.ads-software.com/support/topic/417147) worked for me… and I learnt quite a bit in the process whilst I was fiddling around. Many thanks for the help!
I have one more thing I need to sort out regarding this though.
It’d probably make more sense to put in a new post as its a different topic (but still related) but thought I’d ask here first.So, I now have my original, search friendly, templated pages for each of my ‘product’ posts and also the new much simplified template I now use for pop-up modal ‘product’ posts using Lightbox (or in my case FancyBox), both using the same initial ‘product’ posts.
I now want to find out if its possible to detect if a browser has Javascript enabled or not so that if it isn’t enabled the user would be given the original permalinks to the fully templated pages instead of the ultra simplified pages intended just for Lightbox (as obviously without JS Lightbox / FancyBox wont work).
What does anyone think? Possible?
Cheers
StefForum: Fixing WordPress
In reply to: Post content ( the_content() ) in lightbox or modal window?wow – thanks for the quick reply coopersita, taking a look now.
Will let you know how it goes.Cheers
StefForum: Fixing WordPress
In reply to: Post content ( the_content() ) in lightbox or modal window?okay – that’s the route I’m going to take for now. Seems the easiest / quickest way to go.
I have one concern though. I think I’m going to have to create two templates for the single.php –?one that matches the site design and the other being the plain (no header or footer) template for lightbox. I’m a little worried what will happen when someone like google indexes my site. I want the content to be searchable by google but don’t want folk to land on stripped-back pages with no header or footer after following a google search. Need to find a way to only use the bare, striped back single.php template if links from a certain page are followed, otherwise the full template needs to be used.
I do still think the ‘other’ option (somehow passing post data into lightbox or similar) is a far better way to go, but without a tutorial or someone to give me guidance its a bit out of my reach… when I’ve got time I’ll look into it, but in the meantime if anyone could shed any light and give me any more hints or help I’d be hugely appreciative.
Many thanks
StefForum: Themes and Templates
In reply to: Open a post in lightbox or populate a divHi – I’m looking for the same thing as chavo aslo.
When a blog title is clicked (on index.php for example) the post opens up in a lightbox window, but without the header or footer.
So really just everything thats included within the_content() and nothing more.
Can it be done?
Many thanks
StefForum: Fixing WordPress
In reply to: Menu highlighting for single post (single.php)Just to let anyone interested know that I achieved this using the excellent wp-menu plugin.
https://www.ads-software.com/extend/plugins/wp-menu/
within its arguments it allows you to bind a category ID to a page ID, or even all your Blog posts to a page ID resulting in the nav highlighting working correctly for single category posts
Thanks ??
Forum: Plugins
In reply to: Media Tags plugin excessive database queries?Hi Paul & taf2 – thanks for your replies.
Paul:
I currently don’t have the plugin installed, and the site is now live (but still kind of on-going dev too). I will try debugging as you suggest the next time there’s a design or code update, probably in the next few weeks as its currently bedding in whith my client.However I wouldn’t be surprised if the issue stems from some of my sloppy PHP coding (I’m still learning), or even a re-direct loop, although I’m pretty sure there are none of those.
It’s something I would like to resolve if possible though, so will mail you the debug details once I have them.
Many thanks for your time, and fantastic plug-in!
Kind regards
StefForum: Fixing WordPress
In reply to: highlight parent and current child category when viewing single postHi sorry to pick up the old post, but did you come to a solution yet? As i want to do the same thing but i just cant get it to work..
Same here… looking for help too.
when a reader views a post as a single after clicking through from an excerpt I need to find away to keep the relevant Nav highlighted.Any ideas?
Thanks
Forum: Fixing WordPress
In reply to: Static Home Page not showing anymore – now it’s most recent postsupdate: Fixed my issue… my own silly fault.
I’d been messing around in the functions.php trying to conditionally load plugins based on page. Thought I had it working – appears I didn’t after-all. Sorry for jumping on your thread.
Forum: Fixing WordPress
In reply to: Static Home Page not showing anymore – now it’s most recent postshmm… same thing just happened to me. Still trying to fix it.
I’ve tried switching themes and back, disabling plugins, changing the Reading settings – everything I can think of. NO joy so far.Just before I noticed my static form page turning into a posts / blog page I noticed that the active page on any of the wp_link_pages throughout my site wasn’t working. For example I could be on page 3 of multipage post / page (split up with nextpage tags) but the next page stays stuck on page one… wonder if its related?
Will keep you posted if I find anything.
cheers
StefForum: Plugins
In reply to: [Plugin: WP-Menu] Feature Requests / SupportThe problem is that the hrefs for the child links are all missing a backslash before the child page name.
mark007 – I’ve just been going through exactly the same problem and think I’ve solved it. Your milage may vary but the culprit for me was a plugin used to remove the category base from the permalink or otherwise alter the permalink in someway. Unfortunately I can’t remember specifically which plugin it was as I tried at least half a dozen. I’ll recognise it if I see it again though and let you know.
The plug-in I was using allowed the user to modify the permalink and I’d missed off a trainlng /
Have you altered your permalinks or removed your category base in any way?
Forum: Plugins
In reply to: [Plugin: Stray Random Quotes] BackslashesHiya – a quick fix,which I think will validate, is to use & # 39; (without any spaces) instead of using a apostrophe.
Forum: Plugins
In reply to: [Plugin: Stray Random Quotes] BackslashesHi, I’ve just noticed the same thing on a live site of mine.
I’ve been using Stray Random Quotes for a while and somehow managed to only include quotes without any apostrophes…. up until now.
Recently added a bunch of new quotes and this is happening all over.Anyone have any ideas for fix?
Many thanks
StefForum: Fixing WordPress
In reply to: Content conditionally displayed depending upon last page visited?mfiled, Fantastic – thanks for your help! It easy when you know how!
I had a look in the codex for referrer but didn’t find much. Referer with one r is the secret ??Thanks again.
Forum: Plugins
In reply to: [Plugin: Stray Random Quotes] fade in / outHey gyrus,
Did you ever figure out how to make the quotes fade in and out? I’m looking to do exactly the same thing. Any help hugely appreciated!
Thanks
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Recent Images from a Specific GalleryHI –
I’m trying to achieve the same thing also. Did you get anywhere with this?
Many thanks
Stef