ikaring
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problem with a title in pageHi. That is because your theme template have not well-written.
Find below line and deletedesktop-columns-4 tablet-columns-2 mobile-columns-1after- tag.
<ul class="grid product-list clearfix desktop-columns-4 tablet-columns-2 mobile-columns-1"> desktop-columns-4 tablet-columns-2 mobile-columns-1Forum: Fixing WordPress
In reply to: Modify the behavior of a native widgetGood!
I suppose it is OK to move code to the custom widgets area.
It just add an extra widget, instead of replacing/overwriting the native widget, so it would be the same as adding custom one.Forum: Fixing WordPress
In reply to: Modify the behavior of a native widgetUmm. I have tested with TwentyTwenty theme, and it worked as expected.
Is not there ‘My Recent Posts’ widget in Widgets page?Forum: Fixing WordPress
In reply to: Modify the behavior of a native widgetHi.
You can copy whole the widget class to your functions.php, rename and register it.
(not tested)1. Change class name to like
class My_WP_Widget_Recent_Posts extends WP_Widget.2. Change the widget name to
parent::__construct( 'my-recent-posts', __( 'My Recent Posts' ), $widget_ops );.3. Register the widget.
function register_my_widget() { register_widget( 'My_WP_Widget_Recent_Posts' ); } add_action( 'widgets_init', 'register_my_widget' );Forum: Fixing WordPress
In reply to: find div id in blogCongrat!
Pls change status to resolved.Forum: Fixing WordPress
In reply to: All in One SEOを設定こんにちは。
もともとどのようであったのか、どのような設定作業を行った結果どこがおかしくなったのか、どのようにしたいのか、などアドバイスする側にとって手がかりがすくないです。
また、できればスクリーンショットでなくページURLもしくは該当するコードブロックなどがあると回答が付きやすいと思います。日本語のサポートページだとさらに日本の開発者の方の目にとまりやすいです。
https://ja.wordpress.org/support/forum/how-to-and-troubleshooting/Forum: Fixing WordPress
In reply to: Paginated search result show home pageNo, ‘domain.com/page/2’ gonna look for page 2 of the home page, so normally home.php or index.php will be used.
Hi.
Below will output2020-05-18.<?php $date = new DateTime(); $date->setTimestamp(1589830722); echo $date->format('Y-m-d') . "\n";https://www.php.net/manual/en/datetime.settimestamp.php
- This reply was modified 5 years, 12 months ago by ikaring. Reason: Add ref page
Forum: Fixing WordPress
In reply to: find div id in blogHi.
You have js right after menu-header.google.load("visualization", "1", {packages:["table"]});...Forum: Fixing WordPress
In reply to: Javascript issues when I convert my website to WordpresForum: Fixing WordPress
In reply to: Remove shadow behind iconThat is not shadow of the icon, but a button for page top link.
Remove it from your theme or set it to hide with css, like so:#mkd-back-to-top { display: none; }Forum: Developing with WordPress
In reply to: Display Custom Post Type Based on Taxonomy With WP_Query()Hi.
You might need'field' => 'name'in tax_query, since default value is term_id.https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters
I guess you want them to pile up.
Pls try this:.contact-form-wrapper form { flex-flow: column; }Forum: Fixing WordPress
In reply to: Sticky or fixed headerYou might need at least:
body { padding-top: (your header hight); } header { position: fixed; z-index: 10; left: 0; top: 0; width: 100%; }Forum: Fixing WordPress
In reply to: Sticky or fixed headerHi.
Pls check position:fixed
You might need some more code, but they are not WP matters.