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”


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/..)





How can i do?

Understrap theme translation directory issue

I have my language translation fa_IR.mo and fa_IR.po and understrap.pot files in theme languages directory. but theme does’nt use them.instead it uses translation in directory:

also there is load_theme_textdomain( 'understrap', get_template_directory() . '/languages' ); in theme setup, so i expected it to load translation mo file from theme languages directory,but its not.

css – How can I upload an image for background use using the Theme Editor in WordPress?

I’m learning WordPress from the book WordPress for Dummies. The author says to open the theme editor then use the style.css sheet. I uploaded the image to the twentyseventeen image folder via FileZilla. She gives this example to add a new background image and change the color to white:

background #FFFFFF

then she gives other property examples like
background-repeat: repeat-y;

I wasn’t able to change the image using the code the author gave. Where to I have to place this code and how to make this change.

I’ve used the following code in the footer.php template to add category archives to the homepage:

?php wp_list_categories(array(
‘style’ => ‘none’,
‘orderby’ => ‘name’,
‘show_count’ => true,
‘hierarchical’ => true,
‘depth’ => 1
)); ?>

So I know how to add code but I don’t know how to add the examples she gave for the background image.

WP Gutenberg custom block – generate theme colors from SASS and use them in the inspector and php callback

I would like to accomplice the following:

  • Define theme colors in a SASS (.scss) file using nested variables.
  • Add these colors to gutenberg using add_theme_support( 'editor-color-palette', array())
  • Have a visual color inspector pallete in Gutenberg.
  • Save the object key, not value, to a attribute
  • Use the atribute in the php callback to set a div class using .has-key-background-color

So far, I’ve been able to generate and editor.scss and style.scss using something like:


$theme-colors: (
  base: #fff,
  base-typography: #333,
  primary: #5bb57a,
  secondary: #f39708,
  tertiary: #ed7aad,

editor.scss and style.scss

@each $name, $color in $theme-colors {

  .has-#{$name}-color {
    color: $color;

  .has-#{$name}-background-color {
    background-color: $color;

set theme colors for Gutenberg I really not want to hardcode this!

function mytheme_setup_theme_supported_features() {
    add_theme_support( 'editor-color-palette', array(
            'name' => __( 'Base', 'themeLangDomain' ),
            'slug' => 'base',
            'color' => '#fff',
            'name' => __( 'Primary', 'themeLangDomain' ),
            'slug' => 'primary',
            'color' => '#5bb57a',
            'name' => __( 'secondary', 'themeLangDomain' ),
            'slug' => 'secondary',
            'color' => '#f39708',
            'name' => __( 'Tertiary', 'themeLangDomain' ),
            'slug' => 'tertiary',
            'color' => '#ed7aad',
            'name' => __( 'base-typography', 'themeLangDomain' ),
            'slug' => 'base-typography',
            'color' => '#333',
    ) );

add_action( 'after_setup_theme', 'mytheme_setup_theme_supported_features' );

Now this is where it ends for me, because I’m able to use withColor() in the block editor. BUT this is set as a style VALUE, not KEY in de renderer and not set as an attribute usable in the PHP Callback.

If I could get an array of the SASS’s $theme-colors as values for a color picker in the block editor I could save the key as an value to the attribute and set it as an class to the div.

Is there a way to do so?

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.

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="https://wordpress.stackexchange.com/<?php bloginfo("template_directory') ?>/assets/images/icons_social.svg" alt="">


            <img class="img-fluid" src="https://wordpress.stackexchange.com/<?php bloginfo("template_directory') ?>/assets/images/image_holder.jpg" alt="">


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

php – Need help with a underscore theme

I’m trying to change the default custom header size; it seems embedded in the img tag.
I placed this code in my functions.php

    $defaults = array(
        // Default Header Image to display
        'default-image'         => get_template_directory_uri() . '/images/headers/default.jpg',
        // Display the header text along with the image
        'header-text'           => false,
        // Header text color default
        'default-text-color'        => '000',
        // Header image width (in pixels)
        'width'             => 3000,
        // Header image height (in pixels)
        'height'            => 250,
        // Header image random rotation default
        'random-default'        => false,
        // Enable upload of image file in admin 
        'uploads'       => false,
        // function to be called in theme head section
        'wp-head-callback'      => 'wphead_cb',
        //  function to be called in preview page head section
        'admin-head-callback'       => 'adminhead_cb',
        // function to produce preview markup in the admin screen
        'admin-preview-callback'    => 'adminpreview_cb',
add_action( 'after_setup_theme', 'themename_custom_header_setup' );

The code is from WordPress site Documation I think.
any help would be greatly appreciated.