View Bitbucketpipelines.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: php:7.4 | |
pipelines: | |
branches: | |
master: | |
- step: | |
name: Deploy to Staging | |
deployment: staging | |
script: | |
- apt-get update |
View changetitle.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
//$( ".qodef-ps-info-item.qodef-ps-categories" ).replaceWith( "<h6>PROJECT TYPE: General Practice </h6>" ); | |
$( ".qodef-ps-info-item.qodef-ps-categories .qodef-ps-info-title" ).html( "<h6 class='title-project-type'>PROJECT TYPE:</h6>" ); | |
$( ".qodef-ps-info-item.qodef-ps-categories a" ).wrap( "<span class='category-type-span'></span>" ); | |
}); |
View conditionalstaement.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
var portfolio_title = $( ".qodef-ps-info-holder.qodef-ps-info-sticky-holder h3.qodef-ps-title" ).text(); | |
if(portfolio_title == '100 years fitout'){ | |
$( ".qodef-ps-info-holder.qodef-ps-info-sticky-holder h3.qodef-ps-title" ).html( "<h3 class='h3.qodef-ps-title'>DOCTORS OF SOUTH MELBOURNE</h3>"); | |
} |
View addlogotoheader.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($){ | |
var url = 'https://alphadevsite2.co/wp-content/uploads/2022/09/EH-Logo_Gradient.png'; | |
$(document).ready(function() { | |
var img = new Image(); | |
img.src = url; | |
$('li#nav-menu-item-6200').after("<li class='menu-logo20'><a href='https://alphadevsite2.co/' class='main-logo-link' style='width:auto;'></a></li>"); | |
$('.main-logo-link').html(img); | |
}); |
View header.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<?php | |
/** | |
* dessau_select_header_meta hook | |
* | |
* @see dessau_select_header_meta() - hooked with 10 | |
* @see dessau_select_user_scalable_meta - hooked with 10 | |
* @see dessau_core_set_open_graph_meta - hooked with 10 |
View header.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<?php | |
/** | |
* dessau_select_header_meta hook | |
* | |
* @see dessau_select_header_meta() - hooked with 10 | |
* @see dessau_select_user_scalable_meta - hooked with 10 | |
* @see dessau_core_set_open_graph_meta - hooked with 10 |
View style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// go ahead and change the colours according to your brand | |
.pagination { | |
clear:both; | |
padding:20px 0; | |
position:relative; | |
font-size:11px; | |
line-height:13px; | |
} | |
View archive-template.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for practical purposes I have called this template archive-template | |
but if your custom post type category is moves you would call this archive-movies.php. | |
I have set the posts to 9, but you can set it to however many you want. | |
$paged = ( get_query_var('paged')) ? get_query_var('paged') : 1; | |
$args = array( | |
'post_type' => 'insight', | |
'post_status' => 'publish', | |
'posts_per_page' => 9, |
NewerOlder