Joseph
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to add admin bar back into pageWhat I meant by admin panel is the dashboard. You need to login as administrator to be able to access the Setting tab.
Forum: Fixing WordPress
In reply to: How to add admin bar back into pageAdmin Panel > Settings > Reading > Front page displays
Forum: Themes and Templates
In reply to: How to over write wp login from (front end), need help…You’ll need to modify the source file or set the function to not echo and modify the string.
https://codex.www.ads-software.com/Function_Reference/wp_login_formForum: Fixing WordPress
In reply to: Keeping Things Fix but RelativeFloat wouldn’t work as those 3 boxes are from the sidebar. I think you just need to set a height so that it doesn’t go of the box.
Forum: Fixing WordPress
In reply to: $wpdb-> query and $wpdb->get_col strange resultDid you declare
global $wpdb;
before doing the query?Forum: Fixing WordPress
In reply to: $wpdb-> query and $wpdb->get_col strange resultSorry my mistake. $wpdb->query returns an integer of the number of rows selected/affected.
Change
query
toget_col
$wpdb->get_col("SELECT id FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'");
This will give you an array of post IDs.
Forum: Fixing WordPress
In reply to: Internet Viewers – Explorer, Safarie etc.Had no problem at all viewing your site with the latest version of Opera.
Forum: Fixing WordPress
In reply to: Splitting up the output of WP_QueryIsn’t that what you wanted? Group every 10 posts in a div with class=”kid”?
Forum: Fixing WordPress
In reply to: $wpdb-> query and $wpdb->get_col strange resultYou need to set criteria such as post type and status:
$wpdb->query("SELECT id FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish'");
Forum: Fixing WordPress
In reply to: Splitting up the output of WP_QueryYou don’t need to split the output. Just add a counter and an IF statement:
<div id="papa"> <?php if (have_posts()) : ?> <div class="kid"> <?php while (have_posts()) : the_post(); ++$count; ?> <!-- Add your HTML --> <?php if ($count % 10 == 0 && $wp_query->post_count > 10) : ?> </div><!--- kid ---> <div class="kid"> <?php endif; endwhile; ?> </div><!--- kid ---> <?php endif; ?> </div><!--- papa --->
It seems like you’ve placed the Le nostr foto album inside itself. When you select the album under the Manage Albums panel, only the 3 galleries should be inside the album.
There are two ways to display the gallery title:
1. Uncheck Deactivate gallery page link and link the gallery to a page by using the Add Page button to create a new page with the same title or pick an existing page from the dropdown menu in the Manage Gallery panel. This will change the URL from/gallery/?album=2&gallery=x
to a page permalink URL e.g., /gallery/la-clinica/ (with gallery as parent page).2. Modify default or create your own template to display the title.
Like I said, you need to create a master album, place all your albums in it as sub-albums and use the [album id=(master album ID)] shortcode. It will only list the sub-albums and not the galleries contained within them unless the galleries are placed directly inside the master album.
I don’t think there is any other way to do this unless you write your own function/template.
I’m unfamiliar with slideshows but have you set the dimensions either through shortcode/function parameters or Options > Slideshow?
I’ve never used shutter box before so I don’t have a clue for #2 but for #1, there’s an inconsistancy in the height of your thumbnails. Image 10 (third down from the right) has a height of 74px instead of 75px and that is causing the next image to be caught in that 1px corner.
I think the inconsistancy is caused by editing the thumbnail. I don’t have a solution for this but I’ve seem many people psoting the same issue so you should have a look at those.
That is the album display code, [album id=x]. I’ve never used the id=all but I think it’s bugged if it’s displaying galleries instead of albums.
I think he easiest solution is what greenThumbs suggested above, create a master album, put the albums in that and use the album shortcode with the master album ID.