ecommerce – Correct html5 Tags for a Shop Page

Hope you are doing well.
I’m struggling with a question and want to know your thoughts.
I have to design a shop and I’m wondering which way is the right one to use html5 tags on the product list page. Should I cover a product card with <section> or <article>?
Is a product card an independent topic of the page or a per section covered topic?
If I have to use <article> on the regular product list page, do I have to use on a category filtered product list page?

Notepad++ How to put split HTML tags onto one line using a Find/Replace Regex search?

Suppose I have a document containing this:

<div data-test-id="comment">
  <div class="class1 
    <p class="class1">
        Lorem Ipsum

The second and third lines have an HTML tag that is split between two lines. I haven’t been able to figure out how to bring them onto one line like this:

<div data-test-id="comment">
  <div class="class1 class2 class3">
    <p class="class1">
        Lorem Ipsum

Whenever I try to use the “?” non-greedy modifier, it seems to ignore it.

javascript – Renderização de componente não traz todas as tags quando executadas no React

Então, tenho um componente chamado ComponentDash abaixo:

import React from 'react';
import ProgressBar from 'react-customizable-progressbar'
import './dash.css';

function componentDash(){

// vermelho #e63946
// laranja #fb5607
// verde #52b788

var cor = null;
const progress = 60;
if(progress <= 50){
    cor = "#e63946";
}else if(progress > 50 && progress <= 70){
}else if(progress > 70){
    cor = "#52b788";

return (
    <div id="progress">
        <h2>Agendamento Diario</h2>
        <ProgressBar id="barra"
        ><p>{progress}%<p>Loja 1</p></p></ProgressBar>


export default componentDash;

quando executo ele sozinho a tanto os elementos como a formatação CSS funcionam normalmente
porem quando chamo esse componente dentro de outro como o abaixo ele não retorna algumas tag como por exemplo o H2 e minha formatação CSS também não vem completa segue codigo:

   import React from 'react';
   import './dashboard.css';
   import Logo from '../../images/logo-gray.png'
   import ComponentDash from '../Components/Dash/dash';
   import '../Components/Dash/dash.css';

   export default class Dashboard extends React.Component{
    this.state = { 
        showComponent: false,
    this._onButtonClick = this._onButtonClick.bind(this);

_onButtonClick() {
      showComponent: true,

    <div className="app">
            <div className="img1">
                <img src={Logo} alt="arc-to" />
                <li><a className="a" href="/#">Dashboard</a></li>
                <li><a className="a" href="/#">Agendamentos</a></li>
                <li><a className="a" href="/#">Usuarios</a></li>
                <li><a className="a" href="/#">Fornecedor</a></li>
                <li><a className="a" href="/#">Relatorios</a></li>
                <li><a className="a" href="/#">Configurações</a></li>
                <li><a className="a" href="/#">Sair</a></li>
        <div className="content">
            <button onClick={this._onButtonClick} >Diario</button>
            {this.state.showComponent ?
            <ComponentDash /> :



plugins – Exporting post content from wordpress using WP All Export and wpautop() php function to include paragraph tags

I have exported my post content from wordpress using WP All Export plugin, however the content of my posts has been exported as HTML but is missing paragraph tags causing all the text to run together when I import it to my new website.

I have read this guide:

And would like to apply the solution described here: when exporting the Content field.

However, my knowledge of PHP is poor at best.

Below is a screenshot of what I believe I need to do. Will this work? I can’t test it as I don’t yet have the full version of the plugin yet and I don’t want to waste money purchasing the full version of WP All Export yet in case this won’t work.

I don’t want to use this solution as I need to leave the existing wordpress website as is. How do I add paragraph tags to all of my posts after relying on wpauto? – but what I do want to do is what this post suggests at the end: “apply the autop filter in your export routine”

Can anyone please provide some guidance?

enter image description here

Is there a security option on Linux servers that stops the submission of certain HTML tags in forms

One of our client’s websites has started showing some strange behaviour. When a <form> tag is submitted on a form, the POST method seems to refuse to accept it. It produces the following error…

You don’t have permission to access this resource.

At first I thought it might have something to do with the TinyMCE editor on the form, but when I use non-accepted tags within TinyMCE it simply converts them to <p> tags. Also, if it was a TinyMCE issue that wouldn’t explain why this change suddenly happened recently.

We also have a duplicate of this site running on our local server here, and it works fine.

Is this something that a mod_security update may have caused?

If anyone has any ideas that would be much appreciated.


I ran phpinfo(); and there was no mention of mod_security. I also tried adding the following in my .htaccess file as recommended by several people in this SO question…

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off

… but it didn’t have any effect, which isn’t surprising since mod_security doesn’t seem to be turned on.

custom post types – The Difference Between Categories and Tags and Taxonomies and Terms

I’ve got a custom post type ‘articles’ and I’ve added a custom taxonomy ‘articles_categories’ which has its own terms.

I was under the impression you can’t have categories and tags on custom post types? But I can’t see how Taxonomies and Terms are the same? And if you can have categories and tags on custom post types what is the reasoning for using custom Taxonomies? It’s all very confusing.

Could someone explain the context of taxonomies and why can’t you use categories and tags on custom post types?

Many thanks in advance

Ease of use – what is the difference between pills, chips and tags / tokens?

crisps are used to represent complex entities in small blocks such as contact information. This can include entities such as photo, text, icon, etc.
Enter the image description here

There is only one difference in appearance between pills or chips, otherwise both can be used for the same purpose and yes, the "tags" are data contained in chips or pills, not in the user interface.

Hash tags work :)

I lived in Los Angeles and worked as a notary. At the time, I was creating a Facebook fan page. I have created a number of hash tags and I still get 100 views a day.

Anyway, I now have a new fan page for my freelance work / services. Does anyone know where to find the hot hash tags people are looking for?

Theming – Twig escapes tags when the raw value is used in the template

I print fields in a knot template, but Twig escapes my tags and ruins my day.

My .tpl looks like this:


{{ content.field_myfield.0 }}

I want to remove all tags from the original field and then "wrap" the field in a paragraph tag title Great. Based on this question, I found out how to get the raw value without tags.

However, this is the HTML code that is actually output:

When you wish upon a star

What am I doing wrong?