theming – How do I debug overridden twig templates?

How do I debug the template overrides. The debugger stops on page.html.twig but doesn’t stop on sub templates such as

web/themes/custom/localtheme/templates/field–paragraph–field-pbcrossfade-image–crossfade-banner.html.twig

The page.html.twig breaks here

enter image description here

The debugger does not break in the sub template.

enter image description here

templates – WordPress change title with custom dynamic

I have created a custom php template file, which I use to filter results, based on user choice.
I get the user’s choice with the following code

$bla=$wp_query->query_vars('something');

So I want to change the wordpress title, instead of the template name inside of wordpress panel, to something like “My template name dynamic- Website name”

I’ve found this

add_filter('pre_get_document_title', 'custom_title');
function custom_title($title) {
     return 'Test New Title';
}

And it changes the title, however it doesn’t show the contents of the $bla.
If you echo it few lines down the code it works. I believe that is because I have to place this filter before the get_header() of the template file.
Any advice?

Grouping rows by value templates

Is there any option to automatically group rows by their values if they fit certain criteria or template?
For example I want to group all iOS 14* records into one and all Android 8* into other

Plus group 5 records with smallest number of users into one.


Source data

Android 10 4259
iOS 14.6 4067
Android 11 1818
Android 9 1562
iOS 14.4.2 1016
Android 8.1.0 458
Android 8.0.0 348
iOS 14.4 341

Android 10 4259
iOS 14.6 4067
Android 11 1818
Android 9 1562
iOS 14.4.2 1016
Android 8.1.0 458
Android 8.0.0 348
iOS 14.4.2 341
iOS 14 1
iOS 12.1.3 1
iOS 12.4.2 1
iOS 13.2 1
Android 7.0.0 1

Zomex Affiliate Program ~ web hosting templates, web hosting & design services | Lots of t


Zomex has been providing premium web hosting templates & related services since 2009! Our templates are available in many formats including including WHMCS, WordPress, HTML, Blesta & Clientexec. We also provide web hosting, design services, security services & more. Our affiliate program allows you to earn a commission from the sale of every product/service we provide, best of all our affiliate program is completely FREE and includes ready made promotional material.

> Learn more/join Zomex affiliate program <

Commissions

Templates

– WHMCS Templates – $10.00 commission

– WordPress themes – $15.00 commission

– HTML Templates – $7.00 commission

– Blesta Templates – $7.00 commission

– Clientexec Templates – $7.00 commission

– Email Templates – $4.99 commission

– WHMCS Modules – $1 – $3 commission

Services

– WHMCS Configuration – $4.00 commission

– WHMCS Integration – $4.00 commission

– WHMCS Security – $4.00 commission

– WHMCS Installation – $1.00 commission

– Logo Design – $5.00 commission

– Banner Design – $3.00 commission

Affiliate program features

Become a Zomex affiliate today and gain access to the best affiliate program for web hosting templates & related services:

Lots of affiliate tools

—- quality Zomex banners

—- over 100 links to various landing pages on Zomex.com (includes the demo, sales page and checkout page of all templates)

—- Ready-made HTML integration code – instantly display our products/services on your website. Our ready-made HTML code will display the products/services of your choice instantly with a responsive design. Our templates will show a preview, lean more, view demo & order now buttons.

– Realtime reports & statistics

– Quick & reliable payouts

– Free to join

– Free affiliate support including implementation/integration of our tools

> View Affiliate Tools <

Provide reseller hosting?

Do you provide reseller hosting? Every reseller needs a high quality website to assist with reselling your web hosting sucessfully. That’s where Zomex comes in, your client’s can use our premium web hosting templates to enhance their website and grow a sucessful business reseller business using your platform. As the referer you will not only help your client’s find us and make use of our high quality templates but also make up to $15/sale.

We also provide services that are vital to any new web hosting reseller including WHMCS installation & configuration, reseller account automation, logo/banner design, WHMCS Modules and much more! All of these will add extra value to your reseller hosting offers to ensure that your customer’s make the best use of their reseller account and continue to renew month after month.

The key to the best affiliate programs is the best products and support. Starting in 2009 we offer some of the best web hosting templates available and we are known for providing very good support which is unmatched in the industry.

We Look Forward To Hearing From You

If you have any questions at all feel free to reply to this thread, create a support request or send us an email:

Sales department at sales (at) zomex com

or contact me personally at jack (at) zomex com

Thank you for showing interest in our services and have a great day!

Warm Regards

Jack Curtis – CEO

Zomex.com

Google sheets – grouping rows by value templates

Is there any option to automatically group rows by their values if they fit certain criteria or template?
For example I want to group all iOS 14* records into one and all Android 8* into other

enter image description here

Plus group 5 records with smallest number of users into one.

enter image description here

windows 7 – trouble connecting to featured templates and themes

I have same problem on two computers. Office 2013 on Windows 10 Pro and Office 2010 on Windows 7 Pro. I get the message “Sorry, we had some trouble connecting to get featured templates and themes and can’t show them right now”.
Try again
Work offline

I can work if I choose “Work offline” but have never had to do this selection before. Try again will not correct the problem. Is there something from the last updates that changed the Office access?

Zomex Affiliate Program ~ web hosting templates, web hosting & design services | Lots of t


Zomex has been providing premium web hosting templates & related services since 2009! Our templates are available in many formats including including WHMCS, WordPress, HTML, Blesta & Clientexec. We also provide web hosting, design services, security services & more. Our affiliate program allows you to earn a commission from the sale of every product/service we provide, best of all our affiliate program is completely FREE and includes ready made promotional material.

> Learn more/join Zomex affiliate program <

Commissions

Templates

– WHMCS Templates – $10.00 commission

– WordPress themes – $15.00 commission

– HTML Templates – $7.00 commission

– Blesta Templates – $7.00 commission

– Clientexec Templates – $7.00 commission

– Email Templates – $4.99 commission

– WHMCS Modules – $1 – $3 commission

Services

– WHMCS Configuration – $4.00 commission

– WHMCS Integration – $4.00 commission

– WHMCS Security – $4.00 commission

– WHMCS Installation – $1.00 commission

– Logo Design – $5.00 commission

– Banner Design – $3.00 commission

Affiliate program features

Become a Zomex affiliate today and gain access to the best affiliate program for web hosting templates & related services:

Lots of affiliate tools

—- quality Zomex banners

—- over 100 links to various landing pages on Zomex.com (includes the demo, sales page and checkout page of all templates)

—- Ready-made HTML integration code – instantly display our products/services on your website. Our ready-made HTML code will display the products/services of your choice instantly with a responsive design. Our templates will show a preview, lean more, view demo & order now buttons.

– Realtime reports & statistics

– Quick & reliable payouts

– Free to join

– Free affiliate support including implementation/integration of our tools

> View Affiliate Tools <

Provide reseller hosting?

Do you provide reseller hosting? Every reseller needs a high quality website to assist with reselling your web hosting sucessfully. That’s where Zomex comes in, your client’s can use our premium web hosting templates to enhance their website and grow a sucessful business reseller business using your platform. As the referer you will not only help your client’s find us and make use of our high quality templates but also make up to $15/sale.

We also provide services that are vital to any new web hosting reseller including WHMCS installation & configuration, reseller account automation, logo/banner design, WHMCS Modules and much more! All of these will add extra value to your reseller hosting offers to ensure that your customer’s make the best use of their reseller account and continue to renew month after month.

The key to the best affiliate programs is the best products and support. Starting in 2009 we offer some of the best web hosting templates available and we are known for providing very good support which is unmatched in the industry.

We Look Forward To Hearing From You

If you have any questions at all feel free to reply to this thread, create a support request or send us an email:

Sales department at sales (at) zomex com

or contact me personally at jack (at) zomex com

Thank you for showing interest in our services and have a great day!

Warm Regards

Jack Curtis – CEO

Zomex.com

research – Share your favorite template(s) for capturing user journeys and workflows


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




templates – How can I get a single php file that is the equivalent of an existing WordPress page?

When I use my php file as a template and no other content on the page, it works fine but when I run the file directly (via PhpStorm), there are missing elements (such as comment_status) that cause exceptions. I am doing the require of wp-load and calling get_header() within the file, but obviously something is still missing, that a ‘real’ WP page has. So – I’d like to see the Php from the otherwise ‘blank’ page, that WP uses. Viewing source of course only shows the final html.

<?php
/* Template Name: BlankPage */
require_once '..wp-load.php';
get_header();

comments_template();
comment_form();
get_footer();
?>

When used as a template, the ‘require’ line is commented out.
Via the WP page editor, I checked the ‘allow comments’ checkbox. Don’t know how to do that yet, via the code.

templates – Not so common HTML transition to wordpress issue

This is one possibility most of the time:

<div class="wrap">
    <header></header>
    <main></main>
    <footer></footer>
</div>

But my design is like this where wrap has a flex, and the sidebar and main are horizontally positioned. →

<div class="wrap">
    <section class="sidebar">
        <header></header>
        <footer></footer>
    </section>
    <main></main>
</div>

Here header and footer are one after another in the sidebar and the main content is in another container.
How should I transfer this HTML into WordPress? I am facing a mental obstacle.