Mark Wilkinson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Authorship Link not workingYou have double quotes in the link. The HTML reads as follows:
<a href="”https://plus.google.com/+LonnyHeiner?rel=author"">Google Profile</a>
It should read:
<a href="https://plus.google.com/+LonnyHeiner?rel=author">Google Profile</a>
Forum: Plugins
In reply to: [User Switching] User Switching from Admin BarYes that is correct it does as you have described. I have not noticed any performance loss but only really tested it with max 10 users on a site.
There is also a github repo for this now too:
Forum: Themes and Templates
In reply to: Change the title and home menu navigation linksTake a look here for creating your own menu:
https://en.support.wordpress.com/menus/
I know it is wordpress.com but it is the same in Twenty Twelve.
Forum: Fixing WordPress
In reply to: media image upload problemHave you taken a look here:
https://codex.www.ads-software.com/Changing_File_Permissions
Forum: Themes and Templates
In reply to: [Stitch] Removing page title ?On line 699 of your themes style.css file you will see the following:
.entry-title, .entry-title a { color: #74452e; display: block; font-family: "Fjalla One", script; font-size: 32px; font-size: 3.2rem; margin: 0; max-width: 94%; text-transform: uppercase; }
Try replacing it with this:
.entry-title, .entry-title a { color: #74452e; display: none; font-family: "Fjalla One", script; font-size: 32px; font-size: 3.2rem; margin: 0; max-width: 94%; text-transform: uppercase; }
Forum: Themes and Templates
In reply to: How to change from one nav to the other after log inYou would need something along these lines in your template file where the nav is called:
<?php if( is_user_logged_in() ) { // code for navbar for logged in users } else { // code for navbar for none logged in users } ?>
Forum: Plugins
In reply to: [User Switching] User Switching from Admin BarExcellent thanks for that – it works a treat. I thought there would be an easier way, it was just getting to know how the plugin did this.
Thanks again.
My amended plugin is now here:
Forum: Plugins
In reply to: [User Switching] User Switching from Admin BarThe plugin below handles all of the admin bar list of users etc and the URL to link to switch except the _wpnonce at the end:
https://gist.github.com/wpmark/5007195
Anyone any ideas how to get the wpnonce on the end of those URLs?
Forum: Hacks
In reply to: Adding image upload functionality to a widgetThanks Ian for your input and that makes perfect sense. The only problem is, is that when you say
In the handler for the click event determine which unique id it is then use that to populate the upload_image field.
I am just not sure how to do that with the Javascript. I assume that you have to do this in the javascript function too? I am not good with JS at all.
If you could help that would be great.
Forum: Hacks
In reply to: Adding image upload functionality to a widgetI am also having a similar problem. If I use your code Ian, it allows the thickbox window to appear and I can then upload an image etc. however the image url is not send into the widget input box. The thickbox window disappears and thats it.
Anyone any further ideas?