wpismypuppet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom URL for my WordPress WebsiteIt sounds to me like you want to have /blog available for the blog, but only have the two WordPress pages show up in the non WordPress environment, correct? In that case, it is very possible and is done with relative ease… and my company could do it for you… but this is a free site and I can’t give you my company information. However, here is my advice:
First, read this:
http://codex.wordpress.org/Integrating_Wordpress_with_Your_Website
Then use the knowledge you’ve obtained to create your “About India” pages and child page as regular PHP pages that then load WordPress (see: “Grab the header” from link provided) and pull the content from the WordPress installation into the page through the use of the loop.
At this point, you’ll want to write some redirects that take http://www.indiavirtualinfo.com/blog/about-india/ (WordPress page) and redirects them to http://www.indiavirtualinfo.com/about-india/ (non WordPress page loading WordPress content). There are plugins that help with 301 redirects if you don’t know how to write them yourself.
This method will leave the http://www.indiavirtualinfo.com/blog in tack so you can use it for the blog section…
Forum: Fixing WordPress
In reply to: Solution to xmlrpc.php vulnerabilityIf you have access to your .htaccess file, then this solution might help:
http://perishablepress.com/wordpress-xmlrpc-pingback-vulnerability/
Forum: Fixing WordPress
In reply to: what is best way to forward WP-MU sub-domain to new domain?Here is a great article that explains how to do this…
http://moz.com/learn/seo/redirection
Just do a Google search for “SEO redirect old domain to new domain” and you’ll get tons of hits.
Sorry to say that this is NOT an easy task… well, it’s easy, just time consuming. There is no quick way of doing this.
Forum: Plugins
In reply to: Smooth scrolling to Anchor pointsUh, really?
Go to this page:
http://tympanus.net/Tutorials/WebsiteScrolling/
and view page source… at the bottom is the code for horizontal scrolling using jQuery. Then go back to the same page and click the bottom link that says “Vertical Demo”. View the source on that page and at the bottom is the code for vertical scrolling using jQuery. And then… combine the two together.
Change the
.bind('click'to another event if you want it to scroll on something other than clicking.Combining the code will be a total of 20 lines of code or less… shouldn’t be too complicated.
Forum: Fixing WordPress
In reply to: parse error: syntax errorYou probably just need to add <?php to the very top of the page, before anything else. However, I would take esmi’s advice to heart.
I didn’t notice at first, but you are directly editing the Twenty Eleven theme and that’s a no no. You need to make a child theme instead. The reason being is that one day Twenty Eleven is going to have an update, and either you or the person you are making this site for is going to click the update button, and then you’ll lose ALL of your work.
Since you are just starting, do as esmi says and start from scratch, then create a child theme, then re-do your changes there.
Forum: Themes and Templates
In reply to: file exceeds the upload_max_filesize directive in php.ini.Chances are your web host only allows the default upload size of 2MB. Here is an article that might help you…
http://wptheming.com/2009/07/upload_max_filesize/
But if you don’t know anything about php.ini files, it’s best to contact your web hosting company for help on how to create one (if you even have permission to do so). The instructions I sent will probably work for most hosting companies, but a majority of them restrict access to creating your own php.ini, especially on shared hosting.
In any case, this is a hosting/server/php issue, not a WordPress issue.
Forum: Plugins
In reply to: Smooth scrolling to Anchor pointsJust do a Google search for “jQuery smooth scroll horizontal and vertical” and you’ll find thousands of examples. Here is one such for vertical:
http://css-tricks.com/snippets/jquery/smooth-scrolling/
and here’s one for horizontal:
Forum: Fixing WordPress
In reply to: wp_list_categories and unpublished postsI did forget the link… terribly sorry about that. Here it is:
http://scribu.net/wordpress/extending-the-category-walker.html
Forum: Fixing WordPress
In reply to: Theme Problem: Fatal error: Call to a member function options()If all other themes install fine except this one you are trying to install, then look for another theme. It sounds like whomever created the theme didn’t do a very good job of coding it. If it’s a premium theme, then email the company you paid and they should help.
The error message you are getting is coming from the theme itself, and NOT from WordPress, so dump the theme and save yourself some headache.
Forum: Fixing WordPress
In reply to: parse error: syntax errorYou should consider using a program that understands PHP code as you type and can let you know of errors before they are published. One such program is DreamWeaver… and though I don’t like DreamWeaver for very much, the code view is rather useful… plus it has a built in FTP client. Those are the ONLY two good features about it.
At any rate… look in your code for these lines:
if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); /><?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */and remove this line completely:
/><?phpYou should be good after that.
Forum: Fixing WordPress
In reply to: wp_list_categories and unpublished postsLong story short… wp_list_categories, when broken down, used get_terms as a root of how it gets categories and the term information associated with it. Since get_terms is used for a number of other methods, it is not applicable for code to be changed to exclude draft, or non-published posts in this code.
One way around the issue (which is probably more work than it’s worth, and might even tax the server too much to bother with) is to create a custom Walker class that extends Walker_Category. While going through each item, you’ll need to do a get_posts for each term and query for posts that are published. If you get any number of posts greater than 0, display that term. Otherwise skip it and move on.
Again, complicated but doable… here is an article of someone extending the class in a different way… not applicable to your question, but it at least gives you instructions on how to create a Walker and apply it.
Forum: Fixing WordPress
In reply to: cant remove gap on top of siteI don’t see a space… can you be more specific where it is? What browser you are using? What operating system?
Forum: Fixing WordPress
In reply to: Forbidden 403 – You don´t have permission to access /Only going by what you are saying… you don’t have anything inside the root (/) other than a folder called “blog”. So when you try to go to your website, it generally looks for an index.html, index.htm, index.php or sometimes others. Since you don’t have one of the mentioned, the site is attempting to show you a listing of all files and folders on the site… but, you don’t have permission to see that listing. And that’s a VERY good thing for security purposes.
At this point, just add an index.htm or index.html file to the root (/) of the website and see if that helps. Also, be careful where you give 755 permissions or you’ll get hacked again!
Forum: Fixing WordPress
In reply to: Remove hover effectSorry… the last comment about your background images not showing is incorrect… they are just really large images and take a while to load.
Forum: Fixing WordPress
In reply to: Remove hover effectThis would be a simple fix if you knew JavaScript… but I’m guessing you don’t, or you wouldn’t have asked the question in the first place. There are plenty of great tutorials out there to teach you the JavaScript needed.
I could tell you how to do it, but it’s a little involved and would probably cause more damage than good, unless you had programming experience. Your best bet is to either pay for the help, or find a different theme. I CAN tell you that it won’t take more than 30 minutes to accomplish what you want… if it does, then either they don’t know how to program, or they are trying to charge you too much for easy work.
On a side note, I would look into a different solution anyway since the site fails completely if JavaScript is disabled. No images and no sub menu shows up! There should at least be a fall back to show the images with a link. I understand the whole lightbox thing, but there has to be SOME fall back if certain things aren’t supported. Showing nothing at all is amateur programming.
On subsequent pages your background images fail with no JavaScript either…