nobita
Forum Replies Created
-
Hi @estherramos
There are two problems to help solve the problem
1. The plugin you are using is quite old and has not been maintained for a long time.
https://www.ads-software.com/plugins/open-graph-metabox/
Open Graph Metabox
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
On this page you can find plugins that are constantly being updated.
https://www.ads-software.com/plugins/tags/ogp/
You can check how the site with OGP is displayed on twitter with the link below.
https://cards-dev.twitter.com/validator
2.The WordPress version of your website is WordPress 4.9.20, so updated 6/19/2022
It has been updated recently, but since the contents are limited to security updates
The current version is 6.0.1 and I don’t have an environment to test older versions.
So, even if I test the operation of the OGP plugin, I can’t verify that it is available on your site.I would like to cooperate as much as possible, but first change the plugin to a new one and tell me the result.
Thank you.
Forum: Themes and Templates
In reply to: [raindrops] WP-CLI Resets Theme CustomizationThe theme reset is done with the following function.
https://github.com/tenman/raindrops/blob/master/functions.php#L406-L440
raindrops_warehouse_clone( 'raindrops_reset_options' )
This is generally the same as:
get_option( 'raindrops_theme_settings' )['raindrops_reset_options']
Thank you.
Does the header image have to be the same on all pages, or can each page have a different one, or even not have a header image on some pages?
When you open the post edit screen, you’ll see a section at the bottom of the page called Custom CSS for this entry.
If you open this item, you should see some images in the Custom Header Image for this post.
(If you don’t see it, add some new images to Customize / Header Media / Header Image.)
Click on the image displayed in the Custom Header Image for this post to save it.YouTube video automatically start?
yes
Great, you solved it yourself.
Have a good day
Thank you
Forum: Themes and Templates
In reply to: [raindrops] WP-CLI Resets Theme CustomizationHi @snowme
Unfortunately, the raindrops theme doesn’t consider wp-cli.
One salvation is that this theme is defined as a pluggable function for most functions.
In other words, if a function with the same name exists in functions.php of the child theme, that function will be used.https://github.com/tenman/raindrops/blob/master/functions.php#L7644-L7661
You can also rewrite the function in which this error occurs as follows.
function raindrops_doctype_elements( $xhtml, $html5, $echo = true ) { $doc_type = raindrops_warehouse_clone( 'raindrops_doc_type_settings' ); if ( true == $echo ) { if ( 'html5' == $doc_type ) { echo $html5; } else { echo $xhtml; } } else { if ( 'html5' == $doc_type ) { return $html5; } else { return $xhtml; } } }
I can’t help you enough, but if you need it, give it a try.
Thank you.
Hi @estherramos
sorry for the late reply
Japanese news reports that there is a large fire in Spain, is that okay?
Do you have any idea what gives the error?
I can’t figure out exactly what’s causing it
Does this plugin exist in the www.ads-software.com plugins directory?
The header of your website has an iframe element embedded in it.
Are you sure this plugin is reliable enough?
Thank you.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Two] Need lots of implementationsAdd customize / Additional CSS
@media (min-width: 1200px){ main.wp-block-group, main.wp-block-query { max-width: 1200px; margin: auto; } }
content width and wide width (.alignwide) customization adjusts the following in the theme.json file
{ "version": 1, "settings": { "layout": { "contentSize": "650px", "wideSize": "1000px" } } }
For example, if you set both 650px and 1000px to 100%, it will look like a fluid layout.
I don’t use twenty twenty two every day, so there may be some shortcomings, but I hope it helps your difficulties.
Thank you.
- This reply was modified 2 years, 4 months ago by nobita.
Forum: Themes and Templates
In reply to: [emulsion] Select DropdownIs it possible to tell me the URL of the post or page that is having the problem?
Thank you.
Forum: Themes and Templates
In reply to: [NSFW] [emulsion] AMP Incompatibility ReportForum: Themes and Templates
In reply to: [raindrops] How to Remove/Hide Two Sidebars?Forum: Themes and Templates
In reply to: [Twenty Twenty-Two] How to reduce featured image size?Hi @apexbee
It seems that the width setting of the site editor cannot be set responsive at the moment.
So you need to add a responsive style
1 site editor/ featured image block
2 advanced / Additional CSS Class. add my-responsive-fearured-image and save
3 customize / Additional CSS add below@media (max-width: 600px){ .my-responsive-fearured-image:not(#hardspecificity){ width:100%!important; } }
If the browser width is 600px or less, it will be displayed at 100%.
note: : not (#hardspecificity) and! important is required to override the style attribute.
Thanks
- This reply was modified 2 years, 6 months ago by nobita.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Two] Custom Attachment Page – Twenty Twenty Two?Hi
Just create a child theme and add attachment.php and it will work
attachemen.php
<?php get_header(); if ( have_posts() ) { while ( have_posts() ) { the_post(); the_title( '<h2>', '</h2>' ); the_content(); } } get_footer();
Forum: Themes and Templates
In reply to: [emulsion] column widhtThere is no response for 2 weeks, so it is assumed that it has been resolved
Forum: Themes and Templates
In reply to: [emulsion] column widhtHi @live4dlife
If you want to adjust the width of your custom HTML block, add a width class as shown in the sample below.
<div class="alignfull"> <p class="alignwide">hello world</p> <table class="alignwide"><tr><td>hello world</td></tr></table> </div>
Elements that do not specify a class have a width of 720px padding: 0 24px (fse: 0 .75rem) margin: 1.5rem auto .75rem (fse: 1.5rem auto)
Thank you.
Forum: Themes and Templates
In reply to: [raindrops] Tab Indent Removed from Postsrainchild/style.css line:3336
Please try comment out white-space, or change from nowrap to pre-wrap
.enlighter-default { border-radius: 10px; border: 2px solid #1d73ae; margin: 2em 0 !important; overflow: auto !important; /* white-space: nowrap !important; */ width: auto; }
This makes me look like it’s indented
If you make this setting, the display in HAProxy Config Section will be different, is that acceptable?Thank you.
- This reply was modified 2 years, 8 months ago by nobita.
Forum: Themes and Templates
In reply to: [raindrops] Tab Indent Removed from PostsI checked the URL provided, but couldn’t find any CSS with text-indent or padding indented.
Although it is not accurate, I have also compared it with the cache on the web, but I can not find any problems at the moment.If you tell me the element with the indentation, I will investigate again.
WordPress 5.9 update added core CSS
It has also been added to your site as style id = “global-styles-inline-css”.
In addition, if you are using the block editor, inline styles will be applied.
These inline styles include margin and so on, which can disrupt your website’s style.I did not find any evidence of using the block editor on your site. So maybe you can get rid of the extra style.
Try Remove global-styles-inline-css
add_action( 'wp_enqueue_scripts', 'my_remove_global_styles' ); function my_remove_global_styles() { wp_dequeue_style( 'global-styles' ); }
Thank you.
- This reply was modified 2 years, 8 months ago by nobita.