Unable to autoplay and loop a cinemagraph from Imgur
Unable to autoplay and loop a cinemagraph from Imgur
Unable to autoplay and loop a cinemagraph from Imgur
How can I create a shortcode from an html and php code written together
There is probably some CSS you can add via Additional CSS (in Theme CUstomization) that you could use. Use the Inspector tool of your browser (F12) to see the CSS ‘class’ element used in the content. If the class is called ‘the_content’, then add this to your Additional CSS: .the_content{text-align:center !important;} You might need this, … Read more
Gtmetrix: avoid bad requests
This is more of a CSS question than a template question. The class “row” is adding a max width of 75rem on your template. Looks like this in the inspector: .row { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 75rem; } That’s coming from this style sheet: https://tuberadar.nl/wp-content/themes/gateway/app.css?ver=5.1.1 Without rooting through … Read more
Remove HTML tags from all posts
You can set up your server to protect a directory of your choice and allow access only to the user running apache/nginx/etc. You would have to write something to verify the user’s credentials and then deliver the file or redirect to the proper url. It’s not difficult, but I don’t know of a solution that … Read more
To display only assigned category you need to change hide_empty to true. Please see the modified code: $args = array( ‘hierarchical’ => 1, ‘show_option_none’ => ”, ‘hide_empty’ => true, ‘parent’ => 134, ‘taxonomy’ => ‘product_cat’ ); $subcats = get_categories($args); echo ‘<ul class=”wooc_sclist”>’; foreach ($subcats as $sc) { $link = get_term_link( $sc->slug, $sc->taxonomy ); echo ‘<li><a … Read more
If you want to add custom html code into your wordpress site probably the best approach is a custom template : https://developer.wordpress.org/themes/template-files-section/page-template-files/ Add the following to a new .php file into your template folder with this : <?php /* Template Name: My Template */ ?> Paste you custom html after it. Then open WP admin … Read more
I’m sorry I don’t have enough recommendation to comment your question and ask for more information. To answer your question as I understand it : This is CSS related. If you only used the HTML part of your “3rd party site”, it is normal you don’t have any CSS style applied (unless it is inline … Read more