Tim Nash
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: copyrightYou can’t is the simple answer, if your content is public it can be copied, you can try and implement various form of copy protection but anything implement can be worked around.
Preventing people right clicking, is pointless as you can just keyboard or the menu, it just means you are making life awkward for yourself.
I’m afraid it’s one of those things that just happens, you can look at attempting to have sites taken down through legal channels or you could prevent the sites getting access through putting it out of the public domain, behind some sort of login.
Ultimately that’s the only way to prevent such actions.
Forum: Fixing WordPress
In reply to: problem with "require_once" in child themecan you post the code you have just tried?
Forum: Fixing WordPress
In reply to: problem with "require_once" in child themerequire_once( get_stylesheet_directory() . '/admin/main/options/02.homepage.php' );
will load the specific file or if you prefer$options_path = get_stylesheet_directory() . '/admin/main/options/';Will set the variable with the path to the options folder.
Forum: Fixing WordPress
In reply to: problem with "require_once" in child themeYou were right to use get_stylesheet_directory
to find the child theme.
http://codex.wordpress.org/Function_Reference/get_stylesheet_directoryIf it was blank, then in your child theme try
var_dump(get_stylesheet_directory())
which will dump out the path and check it’s correct assuming it is then it should just be
require_once( get_stylesheet_directory() . '/admin/main/options/02.homepage.php' );
Make sure in your child theme the folders are setup the same.Forum: Fixing WordPress
In reply to: Getting rid of theme creditsok you have 2 issues here:
1) Licensing
2) DoingI am assuming you are running a self hosted blog where you have access to the files and can make edits? i.e you are not running example.wordpress.com
1) Themes should be Licensed under GPL which means you can do what ever you like to the theme as long as you obey a few restrictions in terms of redistributing and authorship. This means you are free to remove the “blog credits” in the footer, though it is good practice to still keep the credits and explain the original ownership within the code for example in the styles.css along with your details.
Some themes might license in a different way, they shouldn’t and if they do well that’s naughty but in such cases, it’s up to you if you feel you can remove the credit. Some ask that if you remove credit links you give them a few bucks again you can just remove the credit links in the footer regardless, as long as you do accredit them somewhere.
2) The actual removal, is a case of opening footer.php finding the html with the credit and deleting or replacing as you see fit.
Now for the moral bit, people work hard on developing themes so think long and hard before removing credit links to other peoples works. If the link is back to the author of the theme (and not another random company) then it’s a way of saying thank you to them.
Up to you if you want to remove it, change it or do something else, but remember the work someone put into it.
Forum: Fixing WordPress
In reply to: Cannot Access WP Admin PanelSo the reason your site is fast on the front and slow on the back is probably due to you using a caching plugin.
W3TC is basically reducing the amount of calls to the database and a lot of the processing has to do, where as when you login as a admin, you are no longer seeing cached content and are seeing the site performance as it would be if you didn’t have total cache installed. To test this you can turn off total cache entirely then go in a different browser and see the entire site is slow (you probably get a few 500 along the way)
Assuming this is the case, and also you don’t have control over the server, it’s a shared host then you may need to chat to your host about changing hosting plans or look at alternatives.
However it’s worth making sure you cover simple performance steps, like removing plugins you don’t need, you might also want to reduce post revisions down to 2 or 3 and look at cleaning and optimising your DB.
Forum: Fixing WordPress
In reply to: I can't see a post in category linkWhen you go into the post in the admin area to the edit screen, on the right hand side you should see the category list? Do you see newsletter option ticked?
If not tick the box and hit update and it should appear.
Forum: Fixing WordPress
In reply to: Blog token???Your blog has a plugin called Jetpack installed, but I’m guessing you haven’t hooked it up to a WordPress.com account, if you go into jetpack settings you should be able to login via WordPress.com and then it should work.
If it doesn’t then you should post directly into the Jetpack support forums – https://wordpress.org/support/plugin/jetpack
Forum: Fixing WordPress
In reply to: Theme customization – Static page option does not workRather then doing it in the theme customiser, if you go to Settings -> Reading and set the static page there, does it work?
Forum: Fixing WordPress
In reply to: Issue only for adminitrator otherwise working fineWhat version of WordPress are you using?
When you log in with a different browser or an incognito session do the problems persist?Do you have a plugin, that changes the look of your admin area in someway?
Do you have a plugin other then Yoasts which is related or shows stuff on the edit screens?Forum: Fixing WordPress
In reply to: WordPress has strange redirectionsAs it’s a Yoast Premium question, you are best of using their support methods, I believe they have a dedicated support email.
However the do_action
is a trigger, so other plugins including Yoasts plugins can hook in and do actions at that point in code, in this case template redirect.
So any plugin, theme or indeed WordPress core can call that function and add their own redirects at that point. When you commented this out, you stopped everything from using this ability.
Tracking down all the actions associated with a specific do_action can be a little awkward
If you are happy getting your hands dirty you can look directly at the $wp_filter – http://wordpress.stackexchange.com/questions/17394/how-to-know-what-functions-are-hooked-to-an-action-filter
Otherwise you can use the debug Bar addon https://wordpress.org/plugins/debug-bar-actions-and-filters-addon/
However that might not work with redirect as you need to be on the page template as its being called.
One final thing do not remove that line it’s really important 😉
Forum: Fixing WordPress
In reply to: Cross scripting redirect ?Ah shared hosting what joys, sounds like something your host has setup either intentionally or as likely misconfigured something. It could be a spam honey pot to try and trap rogue bots but as likely someone configured the wrong file.
It’s not something you have done and it would be sending me alarm bells if I found this on one of my clients site and would want a explanation from the hosting company and would still be worried.
Forum: Fixing WordPress
In reply to: website is not responding to mouseWhen you removed the ad code, you didn’t quite remove all of it, so part of the script is running causing your issue which is why you also have stray characters showing on the screen. You will need to go back into your header.php file and make sure you have removed all the code, and closed any
<script>tags with</script>Forum: Fixing WordPress
In reply to: Suddenly stopped publishing updates to pagesDo you have a caching plugin installed by any chance?
This is the usual reason, people see older content, if you do you might just want to flush the caches and see if it’s updated.If you don’t or that does not work, when you hit update, leave the post edit screen and come back, are you see the content as you left it or the old published version?
If it’s the old published version, have you recently installed a plugin that does something when you publish, say updates facebook or similar?
Forum: Fixing WordPress
In reply to: How do I get WordPress to load more smoothly?So looking at your site with – http://gtmetrix.com/reports/aysomusic.org/vsvRqmVL
The issue is the sheer number of get requests you are making on each page load, if possible you want to look at combining some of those css files and js files. You could also look at something called Lazy Loading, to defer loading unessential content till after the primary content is loaded.
Finally enabling things like gzip and minifying content will help as well.
Caching will not actually make the number of requests lower but caching plugins often have magnification tools for minifying and combining. If you have server access consider installing mod_pagespeed.