Mayank Kumar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingYour Welcome!!
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingGreat!!! You can mark the topic is solved now.
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not Displaying<em style="font-size:10px;">This article may contain affiliate / compensated links, that may earn me a small commission, at no extra cost to you. For full information, please see our <a href="https://sallysees.com/affiliate-disclaimer/" target="_blank">disclaimer</a> here. While all efforts have been taken to ensure the information included in this post is correct and current, travel information such as opening hours, business operations and prices change frequently. If you find anything in this post that is incorrect or outdated please let me know in the comments so I can update it for other readers.</em>
Add this code either in default editor or in your visual editor.
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingHey,
Now please try this method which can helo you to do that.
Click on the 3dot option and then Edit as HTML
and add this tag
<em style="font-size:10px;">Here is your text</em>
- This reply was modified 2 years, 3 months ago by Mayank Kumar.
- This reply was modified 2 years, 3 months ago by Mayank Kumar.
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingNo HTML anchor is not here to help. Try to add the the css class to this block in your WordPress default editor or the theme you are using if your theme allows. Then you can change the class
em
with the name of your classForum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingPlease try adding this code
em { font-size: 10px; line-height: 1.7em; }
By default, WordPress does not automatically redirect URLs with different capitalization to the corresponding lowercase URL. This means that if you have a page with a permalink of /foo, and someone tries to access /Foo, they will not be automatically redirected to the correct URL. Instead, they will see the page as it is with the incorrect URL.
However, it is possible to adjust this behavior by using a plugin or modifying your website’s .htaccess file to redirect URLs with different capitalization to the correct lowercase URL.
One option for doing this is to use a plugin like WP Force Lowercase URLs, which will automatically redirect all URLs with uppercase letters to their lowercase counterparts. This plugin can be installed and activated through the WordPress plugin repository.
Alternatively, you can modify your website’s .htaccess file to redirect URLs with different capitalization to the correct lowercase URL. To do this, you can add the following code to your .htaccess file:
RewriteEngine On RewriteMap lowercase int:tolower RewriteCond %{REQUEST_URI} [A-Z] RewriteRule (.*) ${lowercase:$1} [R=301,L]
This code will redirect any URL with uppercase letters to the corresponding lowercase URL. It is important to note that modifying the .htaccess file can be a more advanced task and may require some technical knowledge. It is also important to make a backup of the file before making any changes, as any mistakes could potentially cause issues with your website.
Regardless of which method you choose, it is a good idea to test the redirects to ensure that they are working as expected. You can do this by manually trying to access URLs with different capitalization and verifying that they are being redirected to the correct lowercase URL.
- This reply was modified 2 years, 3 months ago by Mayank Kumar.
Forum: Developing with WordPress
In reply to: Music store broadcast and streaming systemIt is possible to use WordPress and a plugin to create a music library and player for online use. The Media Library Extension plugin for WordPress may be a good option to consider for this project. This plugin allows you to create and manage audio files in your WordPress media library, and provides shortcodes to embed audio players on your site.
The Media Library Extension plugin has a number of features that may be useful for your project, including the ability to create playlists, shuffle tracks, and set a timer for the audio to play. It also has the ability to download and upload audio files from the backend of the site.
However, it is important to note that the specific features and capabilities of the plugin may vary, and it may not have all the functionality that you need for your project. It would be a good idea to carefully review the plugin documentation and consider if it meets all the requirements for your project before deciding to use it.
It is also worth noting that while WordPress and a plugin like Media Library Extension can be used to create a music library and player, it may be more complex to create a system that allows the same music to be played simultaneously at multiple locations without any losses. This would likely require more advanced custom development and integration with other systems, and may not be possible with just a plugin. It would be a good idea to carefully assess the specific requirements and feasibility of this aspect of the project.
Forum: Fixing WordPress
In reply to: Reusable Block Formatting not DisplayingTo troubleshoot the issue with your affiliate disclaimer block, I would recommend trying the following steps:
Check your theme’s styles: If your theme has a default font size set for certain elements, it could be causing your affiliate disclaimer block to display at a different size. You can try adding a custom CSS rule to override the default font size for your disclaimer block.
Check for conflicting CSS rules: It’s possible that there is another CSS rule that is causing your font size to be overridden. To troubleshoot this, you can use a tool like the browser’s developer console or a plugin like CSS Hero to inspect the CSS rules being applied to your disclaimer block and see if there are any conflicting rules.
Check for plugin conflicts: If you are using any plugins that add their own CSS rules, it’s possible that one of these plugins is causing the font size of your disclaimer block to be overridden. You can try deactivating each plugin one by one to see if any of them are causing the issue.
To add a custom CSS rule, you can try the following steps:
In your WordPress dashboard, go to Appearance > Customize.
Click on the “Additional CSS” option in the left-hand menu.
Add the following CSS rule:
.wp-block-my-plugin-disclaimer { font-size: 10px; }
Replace .wp-block-my-plugin-disclaimer with the class name of your disclaimer block. You can find the class name by inspecting the element in the browser’s developer console or by looking at the HTML source code of the page.
I hope these suggestions help! Let me know if you have any other questions.
- This reply was modified 2 years, 3 months ago by Mayank Kumar.
Hi Shawm
Did you try the second method by using CSS? If not then please try that method first.
It looks like you are using the Astra theme on your website. One solution to this issue would be to use the built-in responsive header options provided by Astra. To do this, you can go to the Customizer and navigate to the “Header & Navigation” section. From there, you should see an option to “Display Different Logos on Mobile Devices”. You can upload a separate mobile logo and it will be displayed on mobile devices instead of the desktop logo.
Next, you can enable the “Merge Menu Items on Mobile” option to merge the two menus into a single hamburger menu on mobile devices. This option can also be found in the “Header & Navigation” section of the Customizer.
If you would like to keep the current layout of your header and simply center the logo, you can do this by adding some custom CSS to your website. Here’s an example of how you could do this:
- In the Customizer, go to the “Additional CSS” section and add the following CSS:
@media (max-width: 767px) { .site-header .site-branding { display: flex; justify-content: center; align-items: center; } .main-navigation { display: none; } }
This CSS will hide the left and right navigation blocks on mobile devices and center the logo instead.
I hope this helps! Let me know if you have any questions or if you would like further assistance.