Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • *Bump*

    Does anyone have any idea?

    To get back to editing my posts I have had to install the Classic Editor plugin

    It is not ideal as most of my posts are in the ‘new’ block style format

    I am also having the same problem. I don’t think that it is down to the theme used as I activated the ‘2021’ theme and I still have a blank screen for “Add new post” (it includes editing existing posts and affects posts too)

    There are 8 errors reported on the page

    Uncaught TypeError: components.min.js?ve...:10
    [1,2,3,4,5,6].flatMap is not a function
    at Module.SB3u (components.min.js?ve...:10)
    at n (components.min.js?ve...:2)
    at wp.components.+51k (components.min.js?ve...:2)
    at components.min.js?ve...:2

    Uncaught SyntaxError: Unexpected token { url.min.js:2

    Uncaught TypeError: block-editor.min.js?...:12
    Cannot read property 'SVG' of undefined
    at Module.tr0p (block-editor.min.js?...:12)
    at n (block-editor.min.js?...:2)
    at wp.blockEditor.//Lo (block-editor.min.js?...:2)
    at block-editor.min.js?...:2
    Uncaught TypeError: block-library.min.js?...:23
    Cannot read property 'withNotices' of undefined
    at Module.K51g (block-library.min.js?...:23)
    at o (block-library.min.js?...:2)
    at wp.blockLibrary.1CF3 (block-library.min.js?...:2)
    at block-library.min.js?...:2
    Uncaught TypeError: editor.min.js?...:7
    Cannot read property 'SETTINGS_DEFAULTS' of undefined
    at Module.PLxR (editor.min.js?...:7)
    at n (editor.min.js?...:7)
    at wp.editor.16Al (editor.min.js?...:2)
    at editor.min.js?...:2
    Uncaught TypeError: edit-post.min.js?...:7
    Cannot read property 'createSlotFill' of undefined
    at Module.dSQ2 (edit-post.min.js?...:7)
    at n (edit-post.min.js?...:2)
    at wp.editPost.0dt7 (edit-post.min.js?...:2)
    at edit-post.min.js?...:2
    Uncaught TypeError: format-library.min.js?...:2
    Cannot read property 'withSpokenMessages' of undefined
    at Module.t1DA (format-library.min.js?...:2)
    at c (format-library.min.js?...:2)
    at wp.formatLibrary.1Yn1 (format-library.min.js?...:2)
    at format-library.min.js?...:2
    Uncaught TypeError: cannot read property post-new.php:1851
    'initializeEditor' of undefined
    at HTMLDocument.<anonymous> (post-new.php:1851)
    • This reply was modified 4 years, 8 months ago by roganty. Reason: forgot an error
    • This reply was modified 4 years, 8 months ago by James Huff.
    Thread Starter roganty

    (@roganty)

    I can’t believe I’ve been so stupid!!

    It should be ‘theme_location’ with underscore!

    Doh!

    Thread Starter roganty

    (@roganty)

    Ok, I’ve been testing this for a while now.
    All my other themes, when I select a menu, that menu is displayed!

    It’s only with this one theme!!!!

    I’ve deleted all menus, and recreated them using different names, and still, only the first menu I created is the one used!! What the hell is going on!?

    I have checked my code against the other themes, and its the same!

    I’ve tried renaming the menu location.
    I’ve tried adding a second menu location.
    But still only the first menu is used!

    Plugin Author roganty

    (@roganty)

    Thanks for your comments and review.

    As to using author gravatar instead of the admin’s, it was something I was considering when I first started writing the plugin.
    The option is saved globally in the options table and not on a per post bases.
    It should be quite easy to get the post author when the post is viewed, and fall back to the admin gravatar in all other instances.

    Or do you mean choose someone else’s gravatar to use?
    That could be done by using a drop down box to chose which WordPress users gravatar to use.

    It’s something I’ll consider for a future version, but for my first release I just wanted to keep it simple.

    Forum: Alpha/Beta/RC
    In reply to: Widget Editor in 2.7
    Thread Starter roganty

    (@roganty)

    I’ve just uploaded three screen shots showing the problem

    Screen Shot 1 shows the widget screen

    Screen Shot 2 shows the widget screen after a widget has been added

    Screen Shot 3 shows the same widget screen as in the above screen shot, but with the edit section open.

    Btw, I’m using Firefox 2.0.0.14 on Fedora 7

    Forum: Plugins
    In reply to: Write a post from front-end

    WordPressChina,
    Wouldn’t it be better to amend the code inside query_posts() to get the full post instead of just the excerpt, I’m sure there is a way

    Have a look at this page http://codex.wordpress.org/Template_Tags/query_posts

    A little off topic, but…

    Is there a way to integrate wordpress.com accounts with wordpress.org blogs so that .com users don’t have to sign up again!

    Just wondering…

    You just need to look at the source code to see what to do…

    <div id="sidebar">
    </ul>
      <h2>
        Home  </h2>
      <ul>
    <a href="http://chrissayburn.com/">Take me home</a>
    
     </ul>
    </h2>
    <ul>
          </ul>
      <h2>
        Menu  </h2>
      <ul>
        	<li class="cat-item cat-item-8"><a href="http://chrissayburn.com/category/challenge/" title="View all posts filed under Challenge">Challenge</a>
    </li>
    [cut]
      </ul>

    This is what you want it to look like
    <li><a href="http://chrissayburn.com/">Take me home</a></li>
    I’ve just wrapped the link in <li> tags

    As a side note, have a look at the source code, because tags used in the sidebar are not nested correctly.
    You’ve got empty tags, and tags that end but don’t start!

    Hope it helps

    Thread Starter roganty

    (@roganty)

    *bump*

    Is anyone else having this problem?

    Anyone?

    Its definatly there!

    <div id="myBox">
    	<!--<ul>
    		<li><a href="">Home</a></li>
    	</ul>-->
    
    <!--<div class="myBoxU"></div>-->
    
    <div class="myBox11"></div>
    <div class="myBox1"><a href="/">Home</a></div>
    
    <div class="myBox13"></div>
    
    <div class="myBox11"></div><div class="myBox1"><a href="http://www.plentyofluck.com/contact/">Contact us</a></div><div class="myBox13"></div><div class="myBox11"></div><div class="myBox1"><a href="http://www.plentyofluck.com/sitemap/">Sitemap</a></div><div class="myBox13"></div>
    </div>

    Have you actually looked at your site, its right at the top just to the right of the “contact me” link!

    Thread Starter roganty

    (@roganty)

    Thanks moshu, I was wondering why they weren’t posting!

    It must be the links!

    That fix wouldn’t work for me, as my web host redirects domain.com to http://www.domain.com, and I have the www prefixed to both urls

    Thread Starter roganty

    (@roganty)

    I have, thanks MichaelH

    Here’s the code I am using:

    $tagcloud = get_tags(array('number' => 150, 'orderby' => 'count', 'order' => 'DESC', 'exclude' => '', 'include' => ''));
    
    $counts = $tag_links = $tag_ids = $a = array();
    
    foreach( $tagcloud as $tag ){
     $counts[$tag->name] = $tag->count;
     $tag_links[$tag->name] = get_tag_link($tag->term_id);
     $tag_ids[$tag->name] = $tag->term_id;
    }
    
    uksort($counts, 'strnatcasecmp');
    
    foreach( $counts as $tag=>$count ){
     $tag_id = $tag_ids[$tag];
     $tag_link = clean_url($tag_links[$tag]);
     $tag = str_replace(' ', '&nbsp;', wp_specialchars( $tag ));
     $a[] = "<a href=\"$tag_link\" class=\"tag-link-$tag_id\">$tag</a> ($count)"; # title=\"" .attribute_escape( sprintf( __('%d posts'), $count ) ). "\"
    }
    
    print "<ul class='wp-tag-cloud'>\r\n<li>";
    print join("</li>\r\n<li>", $a);
    print "</li>\r\n</ul>\r\n";

    Some of it is a direct copy from wp_generate_tag_cloud() in /wordpress/wp-includes/category-template.php

    Thanks for your help.

Viewing 15 replies - 1 through 15 (of 23 total)