theme and plugin sync
This commit is contained in:
17
template-parts/partials/apply-for-financing-button.php
Normal file
17
template-parts/partials/apply-for-financing-button.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Apply For Financing Button
|
||||
*
|
||||
* @package ThemeStarter
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<div>
|
||||
<a class="flex justify-center" href="<?= esc_url(get_permalink('45')); ?>">
|
||||
<button aria-label="Apply For Financing" class="py-2 pl-16 relative pr-4 rounded-md bg-green-700 text-white">
|
||||
<i class="absolute left-2 text-2xl -top-1 rounded-md p-2 bg-green-300 bi-currency-dollar"></i>Apply For Financing
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
15
template-parts/partials/page-header.php
Normal file
15
template-parts/partials/page-header.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Page header template.
|
||||
*
|
||||
* @package ThemeStarter
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<section class="page-header" style="background-image: url('<?= get_the_post_thumbnail_url(get_the_ID(), 'full') ?>')">
|
||||
<div class="max-w-7xl mx-auto flex items-center h-28 lg:h-44 py-8 px-4">
|
||||
<h1 class="text-2xl lg:text-4xl text-white font-bold"><?= get_the_title() ?></h1>
|
||||
</div>
|
||||
</section>
|
Reference in New Issue
Block a user