newsletter – Plugins don’t work on custom theme

I’m trying to add newsletter plugin (mailpoet) to a wordpress site which has theme made by somebody.

It seems like he made this theme, so any new plugin don’t work. In my case – popup from mailerlite doesn’t appears, even in the source code of whole page. But, cookies notification popup which he added works.

When I change theme for some default it works normally, so I think it’s not the case of other plugins interfering.

I need to add mailpoet manually in functions.php? or is it some other way to add it manually? maybe of mailpoet in footer.php?

Code of which file I should provide, so you can help me? functions.php?

web development – Is it possible to know the name of the theme of any website I see on internet?

web development – Is it possible to know the name of the theme of any website I see on internet? – Webmasters Stack Exchange

applications – Splash screen background color doesn’t match app theme colors android java

Stackoverflow!
I have an alert dialog containing radio switch, which makes app change default theme with selected mode and when app restarts, app loads night mode state using shared preferences method:
PreferenceRepository.class:

public class PreferenceRepository {
SharedPreferences mySharedPref ;
public PreferenceRepository(Context context) {
    mySharedPref = context.getSharedPreferences("filename",Context.MODE_PRIVATE);
}
//sets Night mode state to shared preferences
public void setNightModeState(int state) {
    SharedPreferences.Editor editor = mySharedPref.edit();
    editor.putInt("NightMode",state);
    editor.apply();
}
// returns NightModeState
public int NightModeState(){
    return mySharedPref.getInt("NightMode", 2);
}

//loads night mode state when called
public void loadTheme(){
    switch(NightModeState()){
        case 0:
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
            break;
        case 1:
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
            break;
        case 2:
            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM);
            break;
    }
}

}

ThemeChoiceDialog.class:

public class ThemeChoiceDialog extends DialogFragment {
    PreferenceRepository preferenceRepository;
    int position;
    @NonNull
    public Dialog onCreateDialog(Bundle savedInstanceState) {
        preferenceRepository = new PreferenceRepository(requireActivity().getBaseContext());
        position = preferenceRepository.NightModeState();
        AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());

        final String() list = requireActivity().getResources().getStringArray(R.array.theme_choice);

        builder.setTitle(R.string.select_theme)
                .setSingleChoiceItems(list,position , (dialogInterface, i) -> position = i)
                .setPositiveButton("Ok", (dialogInterface, i) -> {
                    preferenceRepository.setNightModeState(position);
                    restartApp();
                })
                .setNegativeButton("Cancel", (dialogInterface, i) -> {
                });

        return builder.create();
    }

    private void restartApp() {
        Intent i = new Intent(getContext(), MainActivity.class);
        startActivity(i);
    }
}

MainActivity.class:

public class MainActivity extends AppCompatActivity {

    PreferenceRepository preferenceRepository;

    @SuppressLint({"NonConstantResourceId", "SourceLockedOrientationActivity"})
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        preferenceRepository = new PreferenceRepository(this);
        preferenceRepository.loadTheme();
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Button themeDialog = findViewById(R.id.theme_dialog);

        themeDialog.setOnClickListener(v -> Continue());
    }

    //Continue button which transfers you to another (IndexActivity) activity
    private void Continue() {
        DialogFragment themeChoiceDialog = new ThemeChoiceDialog();
        themeChoiceDialog.setCancelable(true);
        themeChoiceDialog.show(getSupportFragmentManager(), "Theme Choice Dialog");
    }
}

For full project, visit my github link

All I want to achieve, is to have black background color in my splash screen when the app’s Night mode is ON and have white background of when Night mode is on (and I hope when Night mode is follow_system, it will set the background itself)
(I have the same question in stackoverflow “main”, here’s the link)

php – White screen after migrating site, but wp-admin works fine. Disabling all plugins, applying default theme and enabling debug mode does nothing

I migrated my wordpress site from a very old host with these steps:

  • Downloaded the site to local desktop
  • Downloaded database (php 5.5)
  • Created new database in myphp (php 7.4) and edited exported database to reflect new database name.
  • Imported database (I had to remove the “create database” operation at the start before it let me do this)
  • Put html wordpress files into public_html directory
  • Edited wp-config to with new database information

The back end works as it should. However, the main site is a white page. I have attempted the following so far

  • Disable plugins – no change
  • Change to default theme – no change (plugins or no plugins)
  • Increased memory limit in wp-config – no change
  • Deleted old .htaccess file – no change
  • Added the below code – doesn’t show errors on front page, does not generate error log file in wp-content folder
define('WP_DEBUG', true);

error_reporting(E_ALL);
ini_set('display_errors', 1);
  • I did find an error.log file in public_html with the following:
(07-Sep-2021 06:26:52 UTC) PHP Fatal error:  Uncaught Error: Unknown named parameter $tasks_meta_id in /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php:303
Stack trace:
#0 /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#1 /home/XXXXXXX/public_html/wp-includes/plugin.php(518): WP_Hook->do_action()
#2 /home/XXXXXXX/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array()
#3 /home/XXXXXXX/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
#4 /home/XXXXXXX/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action()
#5 /home/XXXXXXX/public_html/wp-content/plugins/wpforms-lite/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch()
#6 /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php(303): ActionScheduler_QueueRunner->run()
#7 /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#8 /home/XXXXXXX/public_html/wp-includes/plugin.php(518): WP_Hook->do_action()
#9 /home/XXXXXXX/public_html/wp-cron.php(138): do_action_ref_array()
#10 {main}
  thrown in /home/XXXXXX/public_html/wp-includes/class-wp-hook.php on line 303

It says the error is potentially with the “actionscheduler” component of “woocommerce”, which I never had installed, but I guess it could be in the theme I’m using. However, I never had this issue on the old site. I googled around and read in another thread that installing the action scheduler plugin can fix this, but it didn’t work either.

Seems like I can’t get anything except a blank white screen on my site.
Any help is appreciated.

theme development – How to Multiple div hide and show with Kirki Multicheck?

Kirki Multicheck ( How do I get results on the front page?)
I want to control HTML code(Multiple div hide and show) through multiple checkboxes.

Admin Panel code:–

Kirki::add_field( 'theme', (
    'type'        => 'multicheck',
    'settings'    => 'test_multicheck_setting',
    'label'       => esc_html__( 'My Control', 'kirki' ),
    'section'     => 'single_widget',
    'default'     => array('design_one', 'design_two'),
    'priority'    => 10,
    'choices'     => (
        'design_one'   => esc_html__( 'Column', 'kirki' ),
        'design_none'  => esc_html__( 'None', 'kirki' ),
        'design_two'   => esc_html__( 'Row', 'kirki' ),
    ),
) );

Frontend code:

<?php if ( Kirki::get_option( 'cactus_option', 'test_multicheck_setting' ) == 'design_one' ) {  ?>

    <h1>html Code One</h1>

<?php  } ?>

<?php if ( Kirki::get_option( 'cactus_option', 'test_multicheck_setting' ) == 'design_two' ) {  ?>
  <H2> Html code two</H2>
<?php  } ?>

<?php if ( Kirki::get_option( 'cactus_option', 'test_multicheck_setting' ) == 'design_none' ) {  ?>
    <h3>Html code three</h3>
<?php  } ?>

Get Croster Feature-rich WHMCS CMS Theme With Free WHMCS Starter License! | NewProxyLists

As we all are aware that This has been a very tough time for the Web Hosting industry due to COVID 19, and now the WHMCS price increment. This pandemic has ruined many small & mid-size webhosting startups. We have been working around to come up with something good for our fellow Web Hosting providers and new start-up to cope up with this critical time.

To cope up with this loss, We, ThemeMetro, announce that now you can buy Croster theme with WHMCS Starter License for just $15.95 per month, which means you pay absolutely nothing for the top class & Feature-rich WHMCS CMS theme Croster. The WHMCS has stopped offering Starter License but being the one & only Authorized WHMCS License provider in Theme Category, we’ll be offering Starter license continuously.

Croster theme advantages:

  • Single Page Checkout
  • Fully equipped Page Manager
  • Live Color Schemes Builder
  • Mega Menu Manager
  • Multiple Currency
  • Cookie Consent
  • Multiple Colors & Layouts
  • Disqus Comments
  • Country Based Payment Gateways
  • Sitemap Wizard
  • Multiple Language
  • Promotion Banner
  • Support Hours Widget
  • Webmaster Tools
  • Google Schema
  • SEO Ready Pages
  • Dynamic Products & Pricing
  • Customizable Sections
  • Dynamic Announcement

You can also buy Croster with WHMCS Plus, Business and Professional license at a highly discounted price, please visit the following link to check out the new price. https://thememetro.com/whmcs.php

Live DEMO:
https://demo.thememetro.com/whmcs/index.php?systpl=croster&carttpl=croster_default

Have questions?
Contact us here:
https://thememetro.com/contact.php

For more information check here:
https://thememetro.com/announcements/49/Get-WHMCS-license-free-with-Croster-whmcs-theme.html

Please Note: ThemeMetro is fully authorised by WHMCS to sell/Offfer WHMCS Licenses with Croster theme, If you have any questions Please feel free to contact us or you may also verify the same with WHMCS.

 

[WTS] Get Croster Feature-rich WHMCS CMS Theme With Free WHMCS Starter License!

As we all are aware that This has been a very tough time for the Web Hosting industry due to COVID 19, and now the WHMCS price increment. This pandemic has ruined many small & mid-size webhosting startups. We have been working around to come up with something good for our fellow Web Hosting providers and new start-up to cope up with this critical time.

To cope up with this loss, We, ThemeMetro, announce that now you can buy Croster theme with WHMCS Starter License for just $15.95 per month, which means you pay absolutely nothing for the top class & Feature-rich WHMCS CMS theme Croster. The WHMCS has stopped offering Starter License but being the one & only Authorized WHMCS License provider in Theme Category, we’ll be offering Starter license continuously.

Croster theme advantages:

  • Single Page Checkout
  • Fully equipped Page Manager
  • Live Color Schemes Builder
  • Mega Menu Manager
  • Multiple Currency
  • Cookie Consent
  • Multiple Colors & Layouts
  • Disqus Comments
  • Country Based Payment Gateways
  • Sitemap Wizard
  • Multiple Language
  • Promotion Banner
  • Support Hours Widget
  • Webmaster Tools
  • Google Schema
  • SEO Ready Pages
  • Dynamic Products & Pricing
  • Customizable Sections
  • Dynamic Announcement

You can also buy Croster with WHMCS Plus, Business and Professional license at a highly discounted price, please visit the following link to check out the new price. https://thememetro.com/whmcs.php

Live DEMO:
https://demo.thememetro.com/whmcs/in…roster_default

Have questions?
Contact us here:
https://thememetro.com/contact.php

For more information check here:
https://thememetro.com/announcements…mcs-theme.html

Please Note: ThemeMetro is fully authorised by WHMCS to sell/Offfer WHMCS Licenses with Croster theme, If you have any questions Please feel free to contact us or you may also verify the same with WHMCS.

.

WordPress Theme not working properly on user side

Please give me some help…

I’m using the Newspaper WordPress theme. After I customize the theme It works and looks perfect for the admin’s browsers. But when I log in to another device. Its weird some content and theme do not appear to the user. What is the reason for that? What should I do?

What is the method to switch to specific page on entering theme customizer screen?

On entering the theme customizer, it defaults to the set home page, however I need to change the default to a page with ID 45.

The set home page uses a special template and is formatted by the elementor plugin so it is not expected to respond to the theme customizations. The page ID 45 uses the primary theme and is not set for public display, but solely for the purpose of previewing the changes.

I tried the following without success

add_action('customize_register', function($mgr) 
{
  add_action('customize_controls_print_scripts', function() 
  {
    echo '
    <script>
    wp.customize.previewer.previewUrl.set(wp.customize.settings.url + "?page_id=45");
    </script>
    ';
  }
}

The console error states cannot read property of previewUrl but I am stumped on resolving the errors. I reviewed the customizer js api at https://developer.wordpress.org/themes/customize-api/the-customizer-javascript-api/ but just cannot determine the correct process.

Nexxe Theme [Dark/Light] | NullScripts

Template with a choice of ( light/dark ) color versions.

Colors and sizes using CSS Vars.

Choosing the font color, the theme has many settings and can be fully customized. It’s perfect for all forums, beautifully displaying all site content.

Possibility to change header, slider, navigation, popus, forms, comments and much more..

Permanent support – Write me a private message and you will receive…

.(tagsToTranslate)null scripts(t)nulled(t)nulled sites(t)nulled forum(t)nulled script(t)nulled scripts(t)nulled script forum(t)best nulled scripts site(t)xenforo nulled(t)xenforo 2 nulled(t)xenforo nulled themes(t)seo xenforo 2(t)xenforo themes(t)seo for xenforo(t)vbulletin nulled(t)vbulletin 5 nulled(t)whmcs nulled(t)hexa whmcs(t)whmcs addons nulled(t)whmcs templates nulled(t)whmcs template nulled(t)whmcs modules nulled(t)whmcs themes nulled(t)cs-cart nulled(t)xfilesharing pro nulled(t)blesta nulled(t)arrowchat nulled(t)multi vendor ecommerce script nulled(t)seo providers(t)adsense alternative

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies