CallMeAndy
Forum Replies Created
-
Forum: Installing WordPress
In reply to: "The connection was reset" when trying to access my admin page.Are you sure this is a hostgator issue and not something more to do with what you have done on your WP – I am suddenly getting this same thing on my development platform offline – on localhost.
Trying to make an embedded SQL script work before this (may be conincidence) but now the page is inaccessible. I dont why as yet the rest of the site is OK.
Yes I am sure it was not there.
However it is now.
This is clearly not down to your implementation. There is some sort of functionality issue with the Admin/posts/taxonomies interface.The reason I say this is because when I installed your product I had previously used my own SQL script to load terms and taxonomy directly into the database via phpMyAdmin. The newly loaded terms and taxonomy were present as I was able to find them using the search function and I think they may have been visible and assignable in a single post edit screen however the admin interface for listing the taxonomy showed no terms related to the taxonomy.
This issue went away after I searched for and edited one of them manually, after that all showed in the list.
So as I say your comment prompted me to reinstall your plugin to see if that two was now functional and hey presto!
Forum: Fixing WordPress
In reply to: Inexplicable wrappingIt seems it might be the mega menu causing the trouble. I am using the returned value from wp_list_categories in a shortcode in the text widget.
If I do the same thing in any other widget area it outputs without wrapping.Anyone?
Forum: Fixing WordPress
In reply to: Templates and the editor!Resolved
Forum: Fixing WordPress
In reply to: Templates and the editor!Oh I see – well I will check this out properly tomorrow – thanks so much. The upper construct is exactly the sort of thing I find in Suffusions custom template and the second more in tune with their list of posts, but either way I think I get the drift.
Your a gentleman Josh.
Thank you so much.
I cant provide a link as it is off line, local production, the code for a page of posts template is:
<?php /** * Template Name: Page of Posts * * Creates a page with posts, akin to the default index.php. Using this template you can create as many pages of posts as you want. * * @package Suffusion * @subpackage Templates */ global $wp_query, $page_of_posts, $suf_pop_excerpt, $suffusion; $page_of_posts = true; get_header(); $suffusion->set_content_layout($suf_pop_excerpt); $paged = get_query_var('paged'); if (!isset($paged) || empty($paged)) { $paged = 1; } //$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'orderby' => 'date', 'order' => 'DESC', 'paged' => $paged, ); $temp = $wp_query; // assign original query to temp variable for later use //$wp_query = null; // Resetting this to null was causing a PHP Notice to pop up $wp_query = new WP_Query($args); suffusion_query_posts(); ?> <div id="main-col" class='pop'> <?php suffusion_before_begin_content(); ?> <div id="content" class="hfeed"> <?php if ($suf_pop_excerpt == 'list') { get_template_part('layouts/layout-list'); } else if ($suf_pop_excerpt == 'tiles') { suffusion_after_begin_content(); get_template_part('layouts/layout-tiles'); } else if ($suf_pop_excerpt == 'mosaic') { get_template_part('layouts/layout-mosaic'); } else { suffusion_after_begin_content(); get_template_part('layouts/layout-blog'); } ?> </div><!-- content --> </div><!-- main col --> <?php $wp_query = $temp; get_footer(); ?>
I guess this answers whether or not it is a theme supplied template, it is in the theme folder so it must be. (I had assumed it was packaged with WP as a standard inclusion) Not a creation of my own in any respect, although I had derived other templates from it which of course are suffering the same problem.
Anyway I guess to get a page including the editor area I would need to be including “something” after the get_header() and prior to the preperations for the query.
How do you see this?
No.
Its not really a theme issue I put it badly.Existing page template may layout a list of posts automatically:
Post 1
Post 2
Post 3etc and off down the page with perhaps sidebars. (Unless of course this is a Suffusion method -as it is really the only theme I have any exposure to)
If we put content in the top of the page, in the editor area, it is excluded by virtue of the type of page template selected. Not sure if this is normal but suffusion requires you to select Custom Template if wanting to use this area.
What I want is the benefit of listing template but with the opportunity to layout content in the editor area – so viually being above the listing.
Josh I think to be honest I have taken enough of your time with this as it is deviating from the original thread. If you want to come back on it feel free but dont feel you have to.
I think I need to get my hands burnt. I’m OK with PHP it is the WP architecture that is daunting from the point of view of productivity and tight deadlines. This is really not your probem though so for now, thanks for helping me mate!
Thanks again josh – its a bit cheeky and slightly off topic so I understand if you have not got the time – but I just wondered if there is a way to layout the page for instance in the way discussed herein, but so that it acts as a kind of upper page area, employed on the top of a “Page of posts” style template page – in my case enabling a simple way to list posts beneath within the Suffusion theme framework.
The default seems to be that I must use a Custom Template Page or a Listings Page!
Yes thats cracked it alright!
I’m not clear about the implications of disabling but it doesnt appear to have affected the layout of other pages and posts.
So thanks a bundle – great plugin Josh and fanatasic response to my issue.
Forum: Fixing WordPress
In reply to: [shortcodes] problem with $attskeesiemeijer – I am sure you are correct that it is not required – a lack of understanding on my part and not enough time to scrutanise every aspect of examples drawn upon. I have been including this construct for all shortcodes as it seemed to be required on the first that I did, and it has never caused obstruction since.
Please feel free to enlighten me about its purpose.
Removing it has made no difference to this not working of course.
Andy
Forum: Themes and Templates
In reply to: Excerpts on page templateNot sure what the details were no as too many things going on. But primarily it revolved around my understanding of what should be expected in each template.
Problem is resolved now in any case.Forum: Fixing WordPress
In reply to: New to writing ShortcodesResolved
Forum: Fixing WordPress
In reply to: Permalinks, 404s etcResolved
I get what you are saying with this but I have stripped the h2 tags and just tried it with unformatted text. No difference.
The only way I seem to be able to push them into alignment is if I force it as below.
This is of course making the whole layout unacceptably low down in the main window. If there was a compensation required in each derived-column would that mean on an actual five colum layout I would have to have three x (br) tags in the first – not good!
[two_fifth] <br> Featured Videos See more videos on the <a href="https://localhost/top-videos/">videos page</a> <em>[allvideogallery profile=2 <em>sort=featured count=10</em>]</em> [/two_fifth] [two_fifth] What's New site features and functionality! [netpostsrecent format="{title}{thumbnail}{excerpt}{blog_link}{more}{std_post_footer}" avatar_size=50 count=4 whitelist="2"] <h2>Recent Posts</h2> from the Network [netpostsrecent format="{title}{thumbnail}{excerpt}{blog_link}{more}{std_post_footer}" avatar_size=50 count=4] [/two_fifth] [one_fifth_last]New Blogs [netblogsnewest count=2 total=true] [/one_fifth_last]
damn wanted to be notified of responses to this post. Sorry.