Forum Replies Created

Viewing 15 replies - 16 through 30 (of 42 total)
  • Thread Starter kvv213

    (@kvv213)

    >Well, this may not please you, but it would be a piece of cake for me: do the whole thing in raw HTML. I started doing web pages that way in 1995, built and maintain several websites. I just began learning WordPress a year ago.

    I’ve started to build HTML pages back to the similar time with help of Hot Dog HTML editor and Volcov Commander 🙂 But now I would like more comfort in posting notes.

    MS Word has an ability to publish blog posts directly to WordPress site using xmlrpc feature. So there is no need for manual processing of Word’s code. There is a special template for blog posts.

    But I found out that I have <code></code> feature if I use Text mode editing in the Classic editor. But it works exactly as a inline code feature I need. But doesn’t support <pre> feature for multi line code. Aldo <code> is not visible in Preview mode (as well as <kbd> tag). But this can be fixed with CSS.

    That is great but I’d like to get an ability to use \` feature for inline code and a number of apostrophe for multiline code. I thing that there should be a plug in for this. I’ve checked it but couldn’t find it.

    Thread Starter kvv213

    (@kvv213)

    I’m sorry, I did a wrong direction.

    I need it in the Classic editor not in the modern block one. There is no such a function.

    I write articles in MS Word and then import them into WordPress and finalize with the Classic editor. How can I add these features into the Classic Editor?

    • This reply was modified 3 years, 8 months ago by kvv213.
    Thread Starter kvv213

    (@kvv213)

    Thank you!

    The problem was fixed by adding some additional code to my filter that adds exactly the anchor:

    add_filter( 'the_content_more_link', 'modify_read_more_link',10,2 );
    function modify_read_more_link($more_link_element, $more_link_text) {
         $more_link_text="Читать далее ...";
         return '<p style="text-align: center"><a class="more-link" href="' . get_permalink() . '#more-' . get_the_ID() . '">' . $more_link_text . '</a></p>';
    }

    The original problem was probably in the priority (10) of the filter. It looks like that something changed in the priorities with upgrading to the 6th version.

    • This reply was modified 4 years, 3 months ago by kvv213.
    Thread Starter kvv213

    (@kvv213)

    Confirmed. That fixed.

    Thread Starter kvv213

    (@kvv213)

    Hector,
    Do you have an opportunity to open in on 4K?
    My smallest screen is 2560×1440. If I condense the screen of my browser then the situation goes to normal. But at wide screen it is a problem.

    Thread Starter kvv213

    (@kvv213)

    Hector,
    May be the problem is in the size of the screen?

    I have large screens and the problem exists (Edge):
    https://d.radikal.ru/d34/2106/0c/6256f234c09c.jpg

    If I collapse the screen then it become normal.

    Thread Starter kvv213

    (@kvv213)

    Hello Hector,

    That helped with the mentioned problem but instantly I got a new one. When I ‘comment’ this css rule the entire block was moved to the very below of the page.

    https://d.radikal.ru/d19/2106/70/298501f0d076.jpg

    Thread Starter kvv213

    (@kvv213)

    The problem is in determination of plural and singular type of the number.

    It is easy to fix until Hector issues the updated version.
    class-wordpress-popular-posts-output.php

    _n( ‘1 view’, ‘%s views’, $pageviews, ‘wordpress-popular-posts’ )

    change to

    _n( ‘%s view’, ‘%s views’, $pageviews, ‘wordpress-popular-posts’ )

    It won’t be in Russian but will output the correct values.

    Thread Starter kvv213

    (@kvv213)

    Done

    Thread Starter kvv213

    (@kvv213)

    Hello Hector,

    I’ve prepared a copy of DB. Could you please indicate your private address to send it?

    Thread Starter kvv213

    (@kvv213)

    Please keep in mind that the phenomen is not steady. Sometimes it appears, sometimes it is not visible:

    Thread Starter kvv213

    (@kvv213)

    “What is “Outsiders of the week by kvv213 for “WordPress popular posts” plug-in 0.1”? What does this plugin do?” – that is a plug-in that does the opposite to WPP thing. It does requests to WPP tables (not changing them) and displays the most non-popular posts.
    “Do you have a staging/dev version of your website?” – unfortunately not. But can try some tricks on the live site.

    Thread Starter kvv213

    (@kvv213)

    Here:
    PHP version: 7.2.17-0ubuntu0.18.04.1

    PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache

    Database version: 10.1.38-MariaDB-0ubuntu0.18.04.1

    InnoDB availability: DEFAULT

    WordPress version: 5.2

    Multisite: No

    External object cache: No

    WPP_CACHE_VIEWS: No

    Active plugins: 301 Redirects 2.40, Add background-size to Customizer 0.0.1, Akismet Anti-Spam 4.1.2, BBSpoiler 2.01, Classic Editor 1.5, Collapsing Archives 2.0.5, Easy WP Meta Description 1.2.3, Google XML Sitemaps 4.1.0, Jetpack by WordPress.com 7.3.1, Outsiders of the week by kvv213 for “WordPress popular posts” plug-in 0.1, Public Post Preview 2.8.0, Re-add text underline and justify 0.2, Related Posts by Sovrn 1.14, Simple Lightbox 2.7.1, SOUP – Show Off Upcoming Posts 2.3, SyntaxHighlighter Evolved 3.5.0, Webcraftic Cyr to Lat reloaded 1.2.0, WordPress Popular Posts 4.2.2, WP Crontrol 1.7.1, WP Mail SMTP 1.4.2, WP Super Cache 1.6.5

    Theme: kvv213 (1.5a) by the WordPress team

    And here:
    [url=https://radikal.ru][img]https://b.radikal.ru/b25/1905/77/5eff8d621ec2.png[/img][/url]
    [url=https://radikal.ru][img]https://d.radikal.ru/d42/1905/37/a1f274139950.png[/img][/url]

    Collation is utf8mb4_unicode_ci for both of the tables.

    PS. Not sure that I know how to attach pictures here 🙂

    Thread Starter kvv213

    (@kvv213)

    No, Data Samoling looks disabled….

    Thread Starter kvv213

    (@kvv213)

Viewing 15 replies - 16 through 30 (of 42 total)