This file contains hidden or 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
<?php | |
/* Post URLs to IDs function, supports custom post types - borrowed and modified from url_to_postid() in wp-includes/rewrite.php */ | |
function bwp_url_to_postid($url) | |
{ | |
global $wp_rewrite; | |
$url = apply_filters('url_to_postid', $url); | |
// First, check to see if there is a 'p=N' or 'page_id=N' to match against | |
if ( preg_match('#[?&](p|page_id|attachment_id)=(\d+)#', $url, $values) ) { |
This file contains hidden or 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
GIT & GitHub | |
https://www.youtube.com/watch?v=2QP4QxzG-wY | |
https://www.youtube.com/watch?v=5co5C3jmTWI | |
Php | |
https://laravel-ar.com/serie/9/%D9%85%D8%AF%D8%AE%D9%84-%D9%84%D8%AA%D8%B9%D9%84%D9%85-%D9%84%D8%BA%D8%A9-%D8%A8%D9%8A-%D8%A5%D8%AA%D8%B4-%D8%A8%D9%8A-php | |
Laravel | |
https://www.rwaq.org/courses/learn_laravel |
This file contains hidden or 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
# Browsers that we support | |
>0.25% | |
IE 11 | |
not op_mini all | |
not ie_mob 11 | |
not dead |
This file contains hidden or 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
import Counter from './counter'; | |
const App = () => ( | |
<div className='flex flex-wrap justify-between md:justify-center'> | |
<Counter target={150} title='Customer' duration={1} /> | |
<Counter target={20000} title='Rooms' duration={2} /> | |
<Counter target={40000} title='Places' duration={3} /> | |
<Counter target={1200000} title='Users' duration={4} /> | |
</div> | |
); |