chrispink
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts Page IDI’m making a child theme based on 2013. The template is the default template (unaltered) but I’ve replaced the custom header function with a banner based on the featured image – this code is within header.php
Which works on all single pages but not on the posts page. I haven’t made category pages yet but I’m guessing I may have the same problem
When I echo $post->ID I get the ID of the first post listed rather than the page itself.
Im using this;
$thumbnail_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full'); // set up for banner picture
to retrieve the featured image URL.
Forum: Fixing WordPress
In reply to: Forms badly redirectingOK, I’m in the embarrassing situation of resolving my own problem.
So for those that come along later; the parameter ‘name’ is reserved and screws up the page query. Changing ‘name’ to ‘formname’ solves the problem.
I can handle embarrassment – at least I can continue on my merry way
Thanks! I should have thought of that.
Forum: Fixing WordPress
In reply to: Security Issue – hacked usernameYes, it does and that sounds likely.
The admin user was (by mistake) the author of two posts.
i notice that a call to mydomain.com/wordpress/author/myAdminName does return a page so I suppose that was the way in but fairly clever stuff as it’s not an obvious call.
and a google search on “site:mydomain.com/wordpress/” does return posts with the admin name in it.
Gosh. There’s so much to look out for. Thank you for that information.
Last time I counted there were 18 WordPress sites that I directly manage so I guess a bit of admin (if you’ll excuse the pun) is called for.
Forum: Your WordPress
In reply to: My last websitebroken link
I am having trouble posting a new thread in this forum so I shall append it to here in the hope the developers see it, apologies for hijacking your thread.
“How do you create a dynamic list of all, or recent galleries for the sidebar.
I can do this as a menu or by using the permalinks but both these methods are static and require user intervention when a new gallery is required.
Also how do I create a link to the fabled gallery album page (for which the template is gallery-template.php)? ”
You can use the permalink to link to it. Or you can make a menu, if your theme supports them, then add that menu as a widget.
My question is supplementary; how do you make a dynamic list of galleries, like categories or pages?
Bump Bump
same problem….
error message;
Error: jQuery(“#ngg-slideshow-0-108-1”).nggSlideshow is not a function
Source File: /wordpress/galleries
Line: 218Further to the above, colorbox is broken for all other images on the site with G3Client installed, even when ‘Use lightbox’ is unchecked.
Hi, it’s me again, following mr admaust around, I am using jquery colorbox 4.1 and G3Client and checked ‘lightbox compatibility mode’ the lightboxes in my other pages don’t work. with it unchecked the G3Client lightbox doesn’t work. I also want to integrate the two overlays so they look the same (are the same, why duplicate this functionality?), how can I achieve this?
Forum: Plugins
In reply to: [G3Client] [Plugin: G3Client] Images Show but Builds Broken URLsA variant on this issue;
Using WordPress 3.2.1 with G3Client 0.2.0 on a MAMP installation with port 8888
Gallery works perfect, WordPress works perfect. The G3Client shortcode brings up a thumbnail of the gallery, but when you click on the gallery the next URL is deformed.
instead of https://localhost:8888/wordpress/?p=80&item=2 which when entered directly brings up the gallery thumbnails
The URL is instead of https://localhost8888/wordpress/?p=80&item=2 (missing colon before the port)