craigtommola
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Adding Child Theme, Custom Post Type, Custom FieldsPS … Every time I try to add content to /templates/content-single-resource.php, I get this:
“The site is experiencing technical difficulties.”Forum: Themes and Templates
In reply to: [Virtue] Disable Portfolio Content TypeNot yet. It was occurring to me as I wrote the above response.
Forum: Themes and Templates
In reply to: [Virtue] Disable Portfolio Content TypeI wonder if it could be part of hosting on Bluehost …
Forum: Themes and Templates
In reply to: [Virtue] Disable Portfolio Content TypeAdmin page:
/wp-admin/edit.php?post_type=feedbackIt doesn’t seem I can insert an image. But it’s a simple content type menu beneath “Comments” that says “Feedback” with submenu options of “Feedback” (post type listing, but no entries) and “Export CSV”. It doesn’t use dashicons for its icon.
Forum: Themes and Templates
In reply to: [Virtue] Disable Portfolio Content TypeHmm. Is feedback perhaps part of the theme’s suggested plugins?
I can turn off Portfolio in my child theme if you can point to where it’s created / enabled. I did a number of greps trying to find it and couldn’t
Thx
CTForum: Themes and Templates
In reply to: [Virtue] Disable Portfolio Content TypeThat said, I’m also interested in deactivating the “Feedback” feature.
Forum: Hacks
In reply to: Conditional Posts Loop based on Current User CanIt’s not working out for me. The No Posts message shows to the user who can manage links – even when there are posts. The No Permission message shows correctly to a visitor.
Thoughts?
Thx
CTForum: Hacks
In reply to: Conditional Posts Loop based on Current User CanBelow is the order of the loop I’m working with. It’s the index.php from twentytwelve, which I’ve moved into a child theme.
I can’t seem to get the arguments in the right order – sometimes getting the “no posts” message and others getting the white screen of death.
Would you mind terribly dropping your above arguments in place?
<?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php twentytwelve_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <?php if ( current_user_can( 'edit_posts' ) ) : // Show a different message to a logged-in user who can add posts. ?> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'There are no listings available.', 'twentytwelve' ); ?></h1> </header> <div class="entry-content"> <p><?php print( __( 'If you would like to submit a listing to the marketplace, please fill out <a href="/submit/" title="Submit">this simple form</a>.', 'twentytwelve' ) ); ?></p> </div><!-- .entry-content --> <?php else : // Show the default message to everyone else. ?> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Sorry', 'twentytwelve' ); ?></h1> </header> <div class="entry-content"> <p><?php _e( 'You do not have permission to view this content.', 'twentytwelve' ); ?></p> </div><!-- .entry-content --> <?php endif; // end current_user_can() check ?> </article><!-- #post-0 --> <?php endif; // end have_posts() check ?>
Forum: Hacks
In reply to: Conditional Posts Loop based on Current User CanFalse in this case would return “You do not have permission to view this content.” … correct?
Thanks again – so quick and so helpful.
CT
Forum: Hacks
In reply to: Conditional Posts Loop based on Current User CanThank you! I will have to review and test this out. One question – if
current_user_can
manage_links
, wouldn’t they have to be logged in?Forum: Networking WordPress
In reply to: White Screen after Multisite Update.Actually, the instruction to deactivate all themes and activate default isn’t even in the manual upgrade instructions – I think it’s been some time since this post has been scrutinized and updated:
https://codex.www.ads-software.com/Upgrading_WordPress_Extended
Thank you much for your help … I’m down to one last plugin update … WP e-Commerce … fingers crossed.
CT
Forum: Networking WordPress
In reply to: White Screen after Multisite Update.Crap – you’re a genius – I didn’t deactivate the theme. After removing themes from the themes folder, I have access to the admin, but still white page on frontend.
I Network activated Twenty Eleven.
I then went to each site of the Network and activated Twenty Eleven.
(each /themes.php page showed that the currently active theme was “broken”)
I moved the previous contents of the themes folder back to the themes folder and proceeded to the /network/themes.php page. All needed themes were shown, and those which were previously network enabled, were automatically enabled again.
I updated all themes.
I updated all plugins.
I returned to each of the /themes.php pages, and re-activated the intended theme.
I returned to the /network/plugins.php page and re-network-activated the required plugins.
I returned to each of the /plugins.php page and re-network-activated the required plugins.
I am currently going through all plugin settings and confirming accuracy against live site.I’ll let you know of further anomalies – thank you kindly.
In short, it seems that my first and only error had been not setting Twenty Eleven as the currently active theme, at the same time that I deactivated all plugins.
Forum: Networking WordPress
In reply to: White Screen after Multisite Update.I’m not sure what I’m looking for in the logs, however I see no php error mention. I restarted MAMP PRO, then tried to login to /wp-admin and still have white screen. No error shows in log.
Forum: Networking WordPress
In reply to: Categories Mysteriously Disappear from admin listings and postsI do – but it seems to do nothing. I’ve restored the database from three different backups, and then the database AND wp-content folder from a single backup.
Nothing seems to change. Emptying cache, everything.
Forum: Fixing WordPress
In reply to: Issue with links in wp_list_categories after upgrade to 3.1I’ve since deleted cache, deactivated caching plugin, reset permalinks to default, and no change occurs. Any insights?
Thx
CT