spfx – How to extract the Theme from a site in PnP provisioning for SP Online?

I am looking to extract a template with its theme from a site in SP Online. I have the code

Get-PnPProvisioningTemplate -Configuration "template.json" -Out "template.xml" -Force

and for the template.json

{
    "$schema": "https://aka.ms/sppnp-extract-configuration-schema",
    "persistAssetFiles": false,
    "handlers": [
        "Lists",
        "WebSettings",
        "Pages",
        "Theme"
    ],
    "lists": {
        "lists": [
            {
                "title": "Banner",
                "includeItems": true
            }
        ]
    },
    "navigation": {
        "removeExistingNodes": true
    },
    "siteFooter": {
        "removeExistingNodes": true
    },
    "pages": {
        "includeAllClientSidePages": true
    }
}

But when I save the file, there is no <pnp:Theme> element. However before I extracted it, I set a site theme on the site. Anyone know what’s wrong?

Thanks

css – Product Page not responsive in mobile (Porto Theme)

i created a child theme for Porto theme

responsiveness is working on desktop, but not in mobile. can anybody help me? could i be missing the viewport metatag only in product page? i`m a newbie to magento and frontend development.

it actually loads right, but then suddenly it gets full width again. it`s only when i open a product, other pages are resizing in mobile.

uploads – WordPress blog with a custom made theme hosted on heroku

I have been trying to host a wordpress site on heroku. I have accomplished this by using a few git repositorie Heroku-Wordpress that has the quick deploy to Heroku button, it installs correctly my problem now is I built a custom wordpress theme and cannot upload it to wordpress using the add theme button is the wordpress dashboard. This is a git repository with my wordpress theme:

https://github.com/natashanodine/blog-set

It works when I upload to a regular hosting via ftp but I cannot get it to upload thru the dashboard weather it is hosted on heroku or on a regular hosting.

I need it to be upload to heroku so I need to figure out why I cannot upload the new theme using the add theme button in the dashboard

Why can I only edit a custom theme file via Theme Editor, but modifying via FTP does not work?

I’m in the process of taking over a WordPress site (v5.4.4) for a client from another developer, and I’m encountering a very strange problem.

There is a custom PHP file that’s part of their modified theme—let’s call it custom-header.php. If I edit that file and upload it via FTP or the cPanel File Manager, the changes I make are not reflected on the site—even when I reload the page using “Empty Cache and Hard Reload” in Chrome. The only way to change this file seems to be by editing it through the Appearance > Theme Editor tool in the WordPress backend for the site.

I’ve searched the entire server directory structure, and there is no other custom-header.php file, so I know I’m editing the right file. When I upload a changed version of the file, I can see that the timestamp correctly updates on the server. If I redownload it, I can see my changes in the downloaded file. But none of the changes actually show up on the site. The only way to change this file is by editing it with the Theme Editor. (Similarly, changes made with Theme Editor aren’t reflected on the server file timestamp.)

What is going on here? There is some sort of disconnect between the Theme Editor and the files on the server, but I can’t figure out why.

editing dooplay theme – adding text on featured image

Hi i need someone for easy work about poster on dooplay theme is very easy work. pm for details and price.

See bellow:
I need a field so i can out CAM or HD or whatever i need…

{
“lightbox_close”: “Close”,
“lightbox_next”: “Next”,
“lightbox_previous”: “Previous”,
“lightbox_error”: “The requested content cannot be loaded. Please try again later.”,
“lightbox_start_slideshow”: “Start slideshow”,
“lightbox_stop_slideshow”: “Stop slideshow”,
“lightbox_full_screen”: “Full screen”,
“lightbox_thumbnails”: “Thumbnails”,
“lightbox_download”: “Download”,
“lightbox_share”: “Share”,
“lightbox_zoom”: “Zoom”,
“lightbox_new_window”: “New window”,
“lightbox_toggle_sidebar”: “Toggle sidebar”
}

Thanks

magento2 – Magento 2 – how override some files of module-catalog-search in custom theme

I would override this files in my custom theme (app/design/frontend/parent/MyCustomTheme/..)

vendor/magento/module-catalog-search/Model/Adapter/Mysql/Dynamic/DataProvider.php

vendor/magento/module-catalog-search/Model/Adapter/Mysql/Aggregation/DataProvider/SelectBuilderForAttribute.php

vendor/magento/module-catalog-search/Model/Adapter/Mysql/Aggregation/DataProvider/QueryBuilder.php

vendor/magento/module-catalog-search/Model/Adapter/Mysql/Filter/Preprocessor.php

How can i do?
Thanks

How do I force the dark theme in a “popout” chat URL to Twitch?

If I link to a Twitch chat such as: https://www.twitch.tv/popout/fazerlazer80/chat

Then it shows the default, bright, white theme.

I want the dark theme. That is, some kind of GET variable in the URL to enable this.

Sadly, this does not work: https://www.twitch.tv/popout/fazerlazer80/chat?theme=dark

I didn’t just randomly try that, but based it on this: https://dev.twitch.tv/docs/embed/everything#embed-parameters

Unfortunately, that’s a separate documentation on the “embed” feature, which is clearly different from the “popout” chat links. The “embed” one works in a different manner and for various reasons, I cannot just use that. It has to be the “popout chat” which is simply a URL on their website.

I don’t mean manually setting this in a GUI, logging in to an account or using some kind of client-side script hack!

When searching online, I exclusively find irrelevant search results.

How do I force the dark theme in a “popout” chat URL to Twitch?

If I link to a Twitch chat such as: https://www.twitch.tv/popout/fazerlazer80/chat

Then it shows the default, bright, white theme.

I want the dark theme. That is, some kind of GET variable in the URL to enable this.

Sadly, this does not work: https://www.twitch.tv/popout/fazerlazer80/chat?theme=dark

I didn’t just randomly try that, but based it on this: https://dev.twitch.tv/docs/embed/everything#embed-parameters

Unfortunately, that’s a separate documentation on the “embed” feature, which is clearly different from the “popout” chat links. The “embed” one works in a different manner and for various reasons, I cannot just use that. It has to be the “popout chat” which is simply a URL on their website.

I don’t mean manually setting this in a GUI, logging in to an account or using some kind of client-side script hack!

When searching online, I exclusively find irrelevant search results.

How can I list only sites that use a particular theme or plugin?

I need to search through dozens of WordPress multisite (network enabled) installs for sites that use a particular plugin.

How can I list only sites that use a particular theme or plugin, preferably with either WP CLI or a database query?

theme development – Add class every 4 post like , class_1, class_2, class_3, class_4 and class_1, class_2, class_3, class_4

Hey guys im trying to add a class every 4 post in wordpress loop like in the image above

enter image description here

im using the simple loop of wordpress, I have investigated about using a counter or modulo but have not found a solution, can you guys help me, Thanks.

 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<div class="col-md-3">

    <div class="box_ow">
            <div class="rollover_cont" style="background-color: #098EAD; mix-blend-mode: multiply; z-index:1;">
            <h3> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h3>
            <a class="go_project_link" href="<?php the_permalink(); ?>">Go to Project ></a>
            <img class="img-fluid icons_social_img" src="<?php bloginfo('template_directory') ?>/assets/images/icons_social.svg" alt="">
            </div>

        

            <img class="img-fluid" src="<?php bloginfo('template_directory') ?>/assets/images/image_holder.jpg" alt="">
    </div>

</div>


<?php endwhile; else : ?>
    <p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>