zuberi
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WordPress Menu Creator] Home Menu ItemI’ve tried both the suggestions above and the current_page_item class is still not showing up in the html. Anyone know why?
P.S. I’m using the WP SLIDER theme, so all my menu links are # (hash) values. Might this be causing the problem? And if so, anyway to modify the code above to work with # values?
Forum: Fixing WordPress
In reply to: Search including linksI second this. I’ve tried ALL the search plugins out there and none of them do this. And I’m not advanced enough in php knowledge to write a plugin that does, so… anyone any ideas?
Forum: Fixing WordPress
In reply to: blog will not display longer postsUnfortunately, I’ve already implemented all those well thought out recommendations and the problem is still there… thanks for responding though.
Forum: Fixing WordPress
In reply to: blog will not display longer postshonestly, I’m really surprised that no-one seems to care about this.
Forum: Fixing WordPress
In reply to: blog will not display longer postsbut.. i’d also like to add – for the benefit of anyone else who is experiencing this seemingly anomalous stupidity – that there seems to be a cutoff point at 225 lines of code. If I add a 226th, the entire content of the post disappears in the blog (though not in the admin posting area). This is one of the most annoying things I’ve ever come across on wordpress! oh… and I’ve just verified that one of the articles I posted over on my other blog (v. 2.5.1) is 666 lines of code (I know scary huh!?), when viewed in dreamweaver. So why was I able to publish that, if I’m not able to publish 225 lines of code in v.2.6.5? I mean seriously? What the…
Forum: Fixing WordPress
In reply to: blog will not display longer postswell. I just spoke to my host (bluehost) and they increased my memory size, but that didn’t seem to resolve the problem. the only workaround that I’ve figured out is to post say 50 lines of code, then publish/save. then post the next 50 below (in the same post), then publish/save, then post the next 50 below (in the same post), then publish/save… etc. etc. etc. ad nauseum. how annoying!
Forum: Fixing WordPress
In reply to: blog will not display longer postsokay, i get it. code has been pastebinned here:
Forum: Fixing WordPress
In reply to: blog will not display longer postscode for second post (split into three posts on here)
[huge chunk of code moderated – please use a pastebin service]
Forum: Fixing WordPress
In reply to: blog will not display longer postshere’s the actual code for the second post, as it appears in my editor (note: I may have to split it into two posts in here, since i think there’s a limit… the irony!)
`
[huge chunk of code moderated – please use a pastebin serviced]Forum: Fixing WordPress
In reply to: Exclude_category bookmarks problemHiya. It’s just unbelievable that no-one has responded to this yet! I tried importing the 2.6.2 code you listed above into bookmark-template.php in 2.5.1 – and i still can’t get it to work… (I’m not changing my blog to 2.6 ‘cos i really don’t like it at all…) so wondering if this actually works for you?
Hi Otto. Thanks for the quick response.
Here’s the resulting code in my sidebar:<div id="sidebarright"> <h2>Newswatch</h2> <li class="news_link_bold"><a href="https://www.cnn.com/2008/CRIME/10/27/illinois.shootings.hudson/index.html?iref=mpstoryview" target="_blank">Body in SUV believed to be Hudson’s nephew, police say</a></li> <li class="news_link_bold"><a href="https://www.cnn.com/2008/POLITICS/10/27/palin.tension/index.html" target="_blank">Palin’s off-script comments irk McCain aides</a></li> <li class="news_link_bold"><a href="https://news.bbc.co.uk/2/hi/middle_east/7693583.stm" target="_blank">Syria hits out at US ‘terrorism’</a></li> <li class="news_link_bold"><a href="https://news.bbc.co.uk/2/hi/middle_east/7692500.stm" target="_blank">Syria condemns ‘US village raid’</a></li> <li class="news_link_bold"><a href="https://news.bbc.co.uk/2/hi/americas/7693362.stm" target="_blank">‘Body found’ in Hudson boy hunt</a></li> <li class="news_link_bold"><a href="https://us.cnn.com/2008/CRIME/10/27/arkansas.shootings/index.html" target="_blank">2 dead in Arkansas campus shooting; one suspect in custody</a></li> <li class="news_link_bold"><a href="https://abcnews.go.com/US/wireStory?id=6116930" target="_blank">Shooting at Ark. University Kills 2, Wounds 1</a></li> <li class="news_link_bold"><a href="https://www.cbsnews.com/stories/2008/10/27/national/main4546724.shtml" target="_blank">Arkansas Campus Shooting Leaves Two Dead</a></li> <li class="news_link_bold"><a href="https://money.cnn.com/2008/10/27/markets/world_markets/index.htm" target="_blank">Global stocks suffer brutal losses</a></li> <li class="news_link_bold"><a href="https://www.cbsnews.com/stories/2008/10/27/business/main4546913.shtml" target="_blank">Nikkei Index Closes At 26-Year Low</a></li> <li class="news_link_bold"><a href="https://news.bbc.co.uk/2/hi/business/7692559.stm" target="_blank">Global shares continue to slide</a></li> <li class="news_link_bold"><a href="https://www.shortnews.com/start.cfm?id=74316" target="_blank">Paul McCartney’s Head Found In Rubbish Bin</a></li> </div>
Forum: Plugins
In reply to: Login and logout redirectionYep. I know it was five months ago, but t0v3’s solution is absolutely spot on. Perfect, in fact.
If anyone’s reading this who wants a little more info about the solution, here’s how I implemented it:
wrote this file in dreamweaver:
<? header ("Location: https://mydomain.com/index.php"); ?>
Saved it as redirect.php and uploaded it to my theme folder (it doesn’t matter where you upload it, just as long as you can find it when you need it – see below)
Then I went to my cPanel and modified the file called
wp-login.php
Only one line needed changing and that was line 78.
t0v3 recommended changing it to:
$redirect_to = 'redirect.php';
But this will only work if you uploaded the file redirect.php to your root folder. I saved it my theme folder, so I had to stipulate the following directories:
/wp-content/themes/stitched-10/redirect.php
so line 78 looked like this:
$redirect_to = 'https://www.mydomain.net/wp-content/themes/stitched-10/redirect.php';
(that should all be on one line.)
and then it worked!
No hassle. No messing around in the theme’s other .php files. Just pure and simple.
Thanks t0v3
Good Work! ??