Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter bconstant

    (@bconstant)

    Hi Saša, thanks for getting back to me so quickly.

    I am unable to login to the debug log. I have tried variations of my user and the provided password but nothing works.

    I also tried simulating in desktop Chrome, but see no cache status message on my page.

    Thread Starter bconstant

    (@bconstant)

    Thanks so much for looking into it! You are correct, the issue happens when I use the “delete cache” button on the admin bar.

    I would love to help out and test the development version but if the site breaks I’m out of a job, so I’ll just live with the bug until the next release.

    Thanks for your understanding, and again for the quick response!

    Thread Starter bconstant

    (@bconstant)

    @scriptburn Any update? I provided my site info as requested but didn’t hear back from you. Thanks!

    Thread Starter bconstant

    (@bconstant)

    @scriptburn I have installed the 2.0.10 update released today but still have the issue. Please advise.

    Thread Starter bconstant

    (@bconstant)

    @scriptburn
    OP here, my URL is http://brattlefilm.org, though I have moved the hidden pages into the nav menu hierarchy as a temporary workaround.

    Pages are:
    About > Announcing the 15×15 Initiative
    Join > Reserve Tickets

    • This reply was modified 8 years, 8 months ago by bconstant.
    • This reply was modified 8 years, 8 months ago by bconstant.

    I am having the same issue. I just upgraded to 3.1.3 and now the visual editor is missing, with 3 broken image placeholders in its place. This was a fresh install from a few weeks ago that I had not touched until today. I tried the automatic reinstall, deactivating all plugins, quitting browser, logging out, and clearing cache – all without success.

    Dave: I just solved the problem with my themes, and it was a weird solution. It turned out to be a problem with line feeds in the head of my styles.css file, where even though I had the correct information (theme name, parent), for whatever reason the line feed wasn’t being interpreted correctly. I have been editing these files in Dreamweaver and using it to FTP the files as well, so I don’t know why suddenly this would be an issue.
    My solution: opened my child theme’s styles.css in TextWrangler and manually retyped the template info lines at the top. In the Save dialog I chose the default Unix-type LF, which is what I was looking for in the off chance Dreamweaver had introduced an oddball LF. As an added precaution I also used a different FTP program. Problem solved!
    I hope that’s helpful – good luck!

    I am having the same issue, where the entire theme description from style.css is used by Theme Editor in the theme name dropdown, causing an error – I keep getting a message that my theme does not exist. This is causing me huge headaches!

    Edit: Default theme Thematic works fine. The problem is that my child theme, which until this point had been ok, seems to have diarrhea of its name/description/uri/etc, like Theme Editor is not parsing this info correctly.

    Edit #2: I just reinstalled wp-admin and wp-includes folders, and this resolved the issue with parsing of template name, however I’m still getting the non-existent theme error when using the editor :/

    there was supposed to be a
    <br />
    before the word ‘after’, it got interpreted literally by the post.

    Delete your <h2> line you added (which had an extra > anyway) and paste this in its place:
    <?php the_date('l, F j, Y', '<hr />', '<br />'); ?>
    It will insert the date with an <hr /> before and a
    after. I found the solution the other day in the Codex.

    Thread Starter bconstant

    (@bconstant)

    I think we were misunderstanding one another—I definitely misunderstand PHP on a regular basis. Using the_meta() as you suggested was what I needed to do.

    This is what I wrote in functions.php:

    // Remove Default Single Post Loop
    function remove_singlepost() {
    	remove_action('thematic_singlepost', 'thematic_single_post');
    	}
    add_action('init', 'remove_singlepost');
    
    // Add my Single Post Loop
    function my_single_post() { ?>
    			<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
        			<?php //thematic_postheader(); ?>
    				<?php the_date('', '<hr />', '<br />'); ?>
    				<?php $cat1 = get_post_ancestors($post);
    					$cat2 = the_category();
    					cat_is_ancestor_of( $cat1, $cat2 ); ?>
    				<?php //the_category(); ?><!--<br />-->
    				<h2 class="entry-title"><a href="<?php the_permalink(); ?>" name="<?php echo get_the_date('ymd'); ?>" id="<?php echo get_the_date('ymd'); ?>"><?php the_title(); ?></a></h2>
    				<?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>
    				<?php the_meta(); ?>
    				<div class="entry-content">
    				<?php thematic_content(); ?>
    					<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
    				</div>
    				<?php //thematic_postfooter(); ?>
    			</div><!-- .post -->
    		<?php
    }
    add_action('thematic_singlepost', 'my_single_post');

    Thanks again for your help, FishDogFish. I think a night’s sleep and strong coffee did the trick.

    Thread Starter bconstant

    (@bconstant)

    Hi FishDogFish,

    Thanks for the tip. Adding this to single.php is fine, but it gives me no control over positioning within the flow of content. I would like to introduce this somewhere into the_content() by adding code to functions.php, but the Codex entries for the_meta() and the_content() don’t show how to do this, and none of the Codex or forum entries I’ve looked at give a clear enough example.

    [What codes samples I find are confusing since there is a disconnect between the older method of creating customized php files in child themes and the new model of constructing customizations in functions.php using code hooks, á là Thematic. I constantly feel on the verge of making a breakthrough in understanding only to be thwarted by simple problems like this, thus my frustration.]

    Am I failing to understand the distinction between modifying files in my child theme and writing code in functions.php? Or if I have the right idea, can you help me learn how to write a custom function to inject the_meta() into my single post loop?

Viewing 12 replies - 1 through 12 (of 12 total)