Martin Robbins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hook for user-edit.phpHere is a more relevant reference:
Sometimes I find it helpful to think about hooks in terms of when they occur, not where.
Forum: Fixing WordPress
In reply to: Styling Logout Confirmation ScreenIn some sense every action already added within the core is a hook. Via plugin or theme file functions.php, any action can be removed, and a substitute action added in its place.
In a similar sense every function is a hook.
http://codex.wordpress.org/Function_Reference/remove_action
<?php remove_action( $tag, $function_to_remove, $priority ); ?>http://codex.wordpress.org/Function_Reference/add_action
<?php add_action( $hook, $function_to_add, $priority, $accepted_args ); ?>Forum: Fixing WordPress
In reply to: Custom Post Type on front pageI can get the title, thumbnail image, and author to display, but I can’t seem to get at any of the other information (like category title, or post type title).
What code do you use to get and display the title, thumbnail, author?
What code do you attempt use to get and display other info?
Are you able to get analogous other info for native post-type post ?
In other words, please share your loop code?
Forum: Installing WordPress
In reply to: One Click WordPress failsSeems to me a one.com script created a faulty file wp-config.php … Have you tried contacting one.com ?
EDITED @anevins, sorry you posted while I was writing.
Forum: Fixing WordPress
In reply to: http redirects to https. how to also redirect for mobile device/public_html/index.html_
notice that is not the same as index.html. In wordpress there is no index.html, and scripts typically should be enqueued.
<script type=”text/javascript” src=”http://detect.deviceatlas.com/redirect.js?d=http://https://meadowvaleinspections.com&m=http://m.meadowvaleinspections.com”></script>
And even if the code is in the correct location, it doesn’t seem right to me, I would consult host papa, gomobi, and/or deviceatlas.com
Forum: Fixing WordPress
In reply to: Changed My Site URLs and No Longer Have AccessYou are welcome, I always wonder why there isn’t a big red warning on that settings page, you are not the only one.
Please mark the topic resolved?
Forum: Fixing WordPress
In reply to: http redirects to https. how to also redirect for mobile deviceSeems you need one conditional mobile redirection “else” another second https redirection.
I set up my site as http originally, and redirected it for mobile devices to a gomobi site
How did you determine the device is mobile for the first redirection to gomobi?
Then I purchased a SSL certificate, and redirected the http site to https
Do this redirection only for the non-mobile devices, which ever ones are not redirected to gomobi.
Forum: Fixing WordPress
In reply to: Error 500 after physical directory moveAs far as I know, server physical path is not in the WordPress equation at all. Everything is relative to the virtual host root. Then again most WordPress is on linux and your windows package might be different
The “Site Address (URL)” setting is the address you want people to type in their browser to reach your WordPress blog.
The “WordPress Address (URL)” setting is the address where your WordPress core files reside.
From the reference:
http://codex.wordpress.org/Changing_The_Site_URLForum: Fixing WordPress
In reply to: Changed My Site URLs and No Longer Have AccessNor can I log in to the DreamHost Panel.
This shouldn’t be the case if what you wrote is all you really did. Ask Dreamhost or maybe reset your dreamhost password?
Once you get to the dreamhost file manager you can correct the field you changed like this: https://codex.wordpress.org/Changing_The_Site_URL
Forum: Fixing WordPress
In reply to: Popup saying "URL Incorrect, but the URL is fine…It’s not on the one interior page I checked. I’d bet it comes from your home page slider script. BTW cool site I dig the Dubai JetPack
Forum: Hacks
In reply to: What's wrong with this conditional statementI have updated content-artist.php
This likely would mean all the posts are post type artist … So you need something more like:
<?php if ( 3813 == get_the_id() ) {Forum: Fixing WordPress
In reply to: Importing of old wordpress.com siteMaybe try the export with absolute minimum selection?
For what it’s worth, I found this: http://premium.wpmudev.org/forums/topic/import-wordpress-site-fails-at-step2
And the specific importer support forum here: https://wordpress.org/support/plugin/wordpress-importer
Forum: Fixing WordPress
In reply to: My ads (adsense) are overlaping my content-Cant fitLooks like your adsense code is in a text widget with automatic paragraphs and line breaks. I would try disable that formatting.
Also it looks like maybe multiple language iframes within the text widget in the left side.
And I see the language switcher in the right sidebar not functional.
Do you have multi-language functionality enabled? maybe try disable that?
And maybe also multiple language ads? Maybe try one language ad at a time?
Forum: Fixing WordPress
In reply to: Post Types- Taxonomies vs. Custom FiledsYou are welcome.
Doctors could be a custom post type. Name likely would be the post title. city and zip could be custom fields.
Forum: Fixing WordPress
In reply to: sharing to social media problemI wish I could help more. It’s really two different things,
1) you share a link directly while logged into your facebook.
2) a viewer of your site shares a post via some share button.
You have to ask facebook. Or the author of thumbnail fixer.
Or the author of your share button plugin if that’s what you are using.
Or the author of your theme if the sharing buttons are built in to your theme.
Good luck
EDIT: thanks to @accuwebhosting