0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
beatlesmontreal.com
/
wp-contentebbd3f
/
themes
/
thesis_184
/
custom
/
[
Home
]
File: custom_functions.php.bak
<?php /* By taking advantage of hooks, filters, and the Custom Loop API, you can make Thesis * do ANYTHING you want. For more information, please see the following articles from * the Thesis User’s Guide or visit the members-only Thesis Support Forums: * * Hooks: http://diythemes.com/thesis/rtfm/customizing-with-hooks/ * Filters: http://diythemes.com/thesis/rtfm/customizing-with-filters/ * Custom Loop API: http://diythemes.com/thesis/rtfm/custom-loop-api/ *EXPLICATION DES CODES ========================== *TITRES cest la seule facon que jai trouve pour mettre les TITRES dans les spin *ce code met le titre tout seul. *function title() { ?> *<p><?php echo get_the_title($id); ?> *<?php } *add_action('thesis_hook_after_post', 'title', 1); *ce code met le titre dans les spins. *{ ?> *<p><?php echo get_the_title($id); ?> *<?php } ============================ * EBAY jai trouve le code et autre trucs sur le forum de phpbay a cette adresse * http://www.phpbay.com/forums/showthread.php?t=6891&highlight=thesis * je controle aussi php bay par le fichier wp-content\plugins\phpBay\lang\english.php * ligne 403 define("PB_EPN_DEFAULT_NUM_LISTINGS", $random_number = rand(35,46)); * ligne 410 doit etre comme ceci pour avoir de plus petite images * define("PB_EPN_IMAGES_ID", ""); * etre sur que la ligne 430 est configure pour onelung thin set up ---:[ place your custom code below this line ]:---*/ remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_content_box', 'thesis_nav_menu'); function intro() { if ( is_single() ) { echo '{{A great way to|A sensible way to|The best way to|A terrific way to|A powerful way to} {save money|not spend as much|cut costs|spend less|lower your expenses|get a better price} {for|to get|to obtain|for getting|to have|to acquire} {this|that|the}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{is|is actually|will be|is definitely|can be|is usually|could be} {knowing|realizing|understanding|being aware of|choosing} {where|in what store|in what place} {you are|you're|you happen to be|you might be|that you're|you will be} {buying|getting|purchasing|obtaining} it. {In today's|Because of today's|With today's|Facing today's} {economy|economic climate|agonizing economy|economic situation}, {many people|lots of people|many individuals|a lot of people|some people|most people|you probably|you almost certainly|you|most likely you|it is likely you|maybe you|most likely you} {are looking for|want|are seeking|are trying to find|are searhing for} {ways to|methods to|solutions to|approaches to|ways of|methods to} {save money|not spend as much|cut costs|spend less|lower your expenses|get a better price|get a better deal|find a deal} {for|to get|to obtain|for getting|to have|to acquire} {this|that|the}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{Did you know|Do you realize|Are you aware|Were you aware|Do you know|It's a fact} that eBay {has|offers|provides|features|carries} {many|several|numerous|a lot of|quite a few|countless|thousands of} {items|elements|accessories} {from all|from many|from a lot of|from most} {brand|company|brand name|make|manufacturer}. {Our|This} {site|web site|website} {is actually|is officialy|is formally} {approved|sanctioned|authorised} by eBay {to help you|to assist you|to assist you to} {find|obtain|discover|get} {that|this|the} {thing|object|merchandise} {you are looking for|you are looking at|you are interested in|you are searching for|you would like|you want}. <B>{If you don't|Should you not|If you can not|If you do not|If you can't} {see|discover|find|locate} {that|this|the} {thing|object|merchandise} {you are searching for|you are interested in|you would like|you want|you are looking for} {below|down below|underneath|under|listed below}. {Use|Utilize|Make use of|Utilize} the search {feild|function|functionality} {to|and} {enter|type in|input|write down} the model number or part number or anything else {you want.|you're looking for.|you need.|you would like.|you're searching for.}</B> | {We|I} {sincerely|truly|seriously|really|very much} {hope|expect|wish|desire} that {you have|you might have|you’ve|you could have|you will have} {found|located|discovered|identified} {the|that|this|the particular|the actual} thing {you were|you’re|you are|you have been} {looking for|in search of|searching for|trying to find|interested in|seeking} {in this|within this|on this} {page|web page|internet page|site|web site} {about|in relation to|related to}:'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{We have|We certainly have|We have thoroughly} {searched|explored|dug into|dug|researched|filtered} {the internet|the world wide web|the web|the net|the online world} {to give|to provide|to offer|to supply|to present} you with {as much|all the|the maximum amount of|just as much} {information|details|info|data} and {resource|learning resource|reference|useful resource} {you may need|you may want|you might need|you'll need|you need}. {These are|They are|They’re|These are generally} {the most|essentially the most|the best|by far the most} {up to date|up-to-date|current|updated} results {for the|for that} {terms|phrases|words}:'; { ?> <?php echo get_the_title($id); ?> <?php } echo '.{Our|This} {site|web site|website} {is actually|is officialy|is formally} {approved|sanctioned|authorised} by eBay {to help you|to assist you|to assist you to} {find|obtain|discover|get} {that|this|the} {thing|object|merchandise} {you are looking for|you are looking at|you are interested in|you are searching for|you would like|you want}. {If|In the event that} {for any|for just about any} reason {you c’ant|you just c’ant|you simply c’ant} {finds|finds out|get} {exactly what|what|precisely what|what exactly|what precisely} {you are looking for|you are interested in|you are searching for|you would like|you want}, {try|have a shot at|attempt|try out} {using|employing|making use of|utilizing} {our|the} search {box|field}. {It might|It could|It may} {return|give back} {more|additional|extra|more precise|more accurate} result. | {Welcome|You are very welcome|You are most welcome|Good day, and welcome} {to our|to this|on this} {page|web page|internet page|site|web site|internet site|blog|post} {about|for|regarding|related to}'; { ?> <?php echo get_the_title($id); ?> <?php } echo 'If you {see|discover|find|identified|spot} the {thing|item|object} that you {were|have been|are} {searching|researching|looking|browsing} for {within|in|amongst|somewhere within|somewhere in|somewhere amongst} these {add's|offers|deals} you {can|could|should|might want to} {click|access|activate} the {link|item|image|thumbnail} to {get|see|reach} the {full|entire|most complete|complete|in detail} {description|presentation} of the {thing|item|object} {related to|in relation to}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{that you are|that you're|you are|you're} {interested|looking|wanting|ready} to {buy|purchase|acquire|get}. {Our|This} {site|web site|website} {is actually|is officialy|is formally} {approved|sanctioned|authorised} by eBay {to help you|to assist you|to assist you to} {find|obtain|discover|get} {that|this|the} {thing|object|merchandise} {you are looking for|you are looking at|you are interested in|you are searching for|you would like|you want}. If {surprisingly|amazingly|to our surprise} {you don't|you just don't|you simply don't} {find|see|locate} what {you are looking for|you are interested in|you are searching for|you would like|you want}. We {encourage you|invite you|suggesting to you} that you {try|have a shot at|attempt|try out|take a chance} {using|employing|making use of|utilizing|entering your search in} {our|the} search {box.|field.} | {On this|About this|Entering this|Coming on This|Here on this} {page|web page|internet page|site|web site|internet site|blog|post|article} {you will|you are going to|you're going to|you can|you will} {probably|possibly|almost certainly|most likely|likely|in all probability} {find|come across|uncover|locate|discover|get|obtain} {differents|lots of|a lot of|plenty of|a bundle of|a diversity of|a substantiel quantity of} {informations|usefull informations|on topic informations|details|info} {and|along with|plus|and also|as well as|in addition to} {ressources|links} {about|with regards to|concerning|in relation to|related to}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{Also|In addition|Furthermore|As well|Additionally} {you will have|you'll have|you should have|you will possess|you'll possess|you may have} {the opportunity|the chance|the means|the ability} {to buy|to obtain|to get|to purchase|to order} {this|this specific|that|the following|this particular} {item|merchandise|thing|object|product} that {you might|you could possibly|you would possibly|you could|you may} {be|end up being|possibly be} {looking for|in search of|searching for|trying to find|interested in}.'; { ?> <?php echo get_the_title($id); ?> <?php } echo ';{is not|is not really|just isn't|is just not|isn't|seriously isn't} {what|exactly what|precisely what|what exactly|just what exactly|just what} {you were|you had been|you are|were you |you're} {looking for|seeking|interested in|trying to find|searching for|in search of} ? Why don't {you use|you employ|you utilize} {the|the actual} search {box|field} {with a|using a} different {phrase|expression|term|word|key phrase}. {We are|Were|I am} {confident|assured} that {you will|you are going to|you might|you can} {get|have|find|receive|obtain} {more|far more|extra|much more|additional|a lot more} {result.|end result.}}'; } } add_action('thesis_hook_before_post', 'intro'); function introebay() { if ( is_single() ) { echo '<H2>{Deals for|Great Deals for|Don't missed theses for|Best deals for|New and used Deals for|New and used bargain for|New and used items for|Great selection of|Is this what you are searching for|Is this what you're looking for|Is this what you're searching for}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '</H2>'; } } add_action('thesis_hook_before_post', 'introebay'); function ebay() { if ( is_single() ) { # phpBay Pro Code $shortcode = array(); $shortcode["keywords"] = "{title}"; $shortcode["num"] = rand(4,16); $shortcode["sortorder"] = "BestMatch"; $shortcode["customid"] = "Default campaign"; $shortcode["templatename"] = "columns"; $shortcode["columns"] = "4"; $shortcode["paging"] = "false"; # shortcodes below are commented out. To use, refer to the user manual # and uncomment. # $shortcode["debug"] = "true"; echo phpbay_shortcode($shortcode); } } add_action('thesis_hook_before_post', 'ebay'); function introcontentrevenge() { if ( is_single() ) { echo '<H3>'; { ?> <?php echo get_the_title($id); ?> <?php } echo '{informations|usefull informations|on topic informations|details|info|ressources|news|articles|youtube|more ressources|documents}</H3>'; } } add_action('thesis_hook_before_post', 'introcontentrevenge'); function newlisted() { if ( is_single() ) { echo '<strong>{{New listed items|Items newly listed|New items|Brand new listing|Recently listed items|Recently listed|new deals} {on|at|from} {eBay|Ebay|ebay} {about|with regards to|regarding|in relation to|concerning|related to}|{eBay|Ebay|ebay} {New listed items|Items newly listed|New items|brand new listing|Recently listed items|Recently listed|new deals} {about|with regards to|regarding|in relation to|concerning|related to}}'; { ?> <?php echo get_the_title($id); ?> <?php } echo '</strong>'; } } add_action('thesis_hook_after_post', 'newlisted'); function lestitres() { if ( is_single() ) { # phpBay Pro Code $shortcode = array(); $shortcode["keywords"] = "{title}"; $shortcode["num"] = rand(40,60); $shortcode["siteid"] = "1"; $shortcode["sortorder"] = "StartTimeNewest"; $shortcode["customid"] = "Default campaign"; $shortcode["templatename"] = "titles"; $shortcode["columns"] = ""; $shortcode["paging"] = "false"; $shortcode["descriptionsearch"] = "true"; $shortcode["geotarget"] = "false"; $shortcode["displaylogo"] = "false"; $shortcode["displaysortbox"] = "false"; $shortcode["removeduplicates"] = "true"; # shortcodes below are commented out. To use, refer to the user manual # and uncomment. # $shortcode["debug"] = "true"; echo phpbay_shortcode($shortcode); } } add_action('thesis_hook_after_post', 'lestitres'); function lestitres2() { if ( is_single() ) { # phpBay Pro Code $shortcode = array(); $shortcode["keywords"] = "{title}"; $shortcode["num"] = "1"; $shortcode["siteid"] = "1"; $shortcode["sortorder"] = "EndTimeSoonest"; $shortcode["customid"] = "Default campaign"; $shortcode["templatename"] = "titles2"; $shortcode["columns"] = ""; $shortcode["paging"] = "false"; $shortcode["descriptionsearch"] = "true"; $shortcode["geotarget"] = "false"; $shortcode["displaylogo"] = "false"; $shortcode["displaysortbox"] = "false"; $shortcode["removeduplicates"] = "true"; # shortcodes below are commented out. To use, refer to the user manual # and uncomment. # $shortcode["debug"] = "true"; echo phpbay_shortcode($shortcode); } } add_action('thesis_hook_after_post', 'lestitres2'); function copyright() { echo '<p>© 2008 chessgamefightgear.com – All rights reserved. '; } add_action('thesis_hook_footer', 'copyright'); function cejourla() { ?> <img src="http://localhost/beatlesmontreal/wp-content/uploads/2013/04/cejourla.jpg/ a href="http://localhost/beatlesmontreal/ce jour-là"> Visit Our Site</a> <?php } add_action('thesis_hook_feature_box', 'cejourla'); /* *EXPLICATION DES CODES ========================== *TITRES cest la seule facon que jai trouve pour mettre les TITRES dans les spin *ce code met le titre tout seul. *function title() { ?> *<p><?php echo get_the_title($id); ?> *<?php } *add_action('thesis_hook_after_post', 'title', 1); *ce code met le titre dans les spins. *{ ?> *<p><?php echo get_the_title($id); ?> *<?php } ========================================================================================= * EBAY jai trouve le code et autre trucs sur le forum de phpbay a cette adresse * http://www.phpbay.com/forums/showthread.php?t=6891&highlight=thesis * je controle aussi php bay par le fichier wp-content\plugins\phpBay\lang\english.php * ligne 403 define("PB_EPN_DEFAULT_NUM_LISTINGS", $random_number = rand(35,46)); * ligne 410 doit etre comme ceci pour avoir de plus petite images * define("PB_EPN_IMAGES_ID", ""); * etre sur que la ligne 430 est configure pour onelung thin set up */