Portofolio layout

Gestart doorChristopher8 reacties23 weergaven

9 berichten · pagina 1 van 1

Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb een portofolio layout gekocht alleen ..
Er is deze fout: Fatal error: Call to undefined function get_header() in /home/*****/domains/*****/public_html/index.php on line 1

Dit is de code:
Spoiler tonen
[COLOR= #0000BB]<?php[/COLOR] get_header[COLOR= #007700]();[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/global"]global[/URL] [COLOR= #0000BB]$woo_options[/COLOR][COLOR= #007700];[/COLOR] ?>

    <div id="content" class="col-full">

        <div id="main" class="fl">     
                    
        [COLOR= #0000BB]<?php $paged[/COLOR] [COLOR= #007700]= ([/COLOR]get_query_var[COLOR= #007700]([/COLOR][COLOR= #DD0000]paged[/COLOR][COLOR= #007700])) ?[/COLOR] get_query_var[COLOR= #007700]([/COLOR][COLOR= #DD0000]paged[/COLOR][COLOR= #007700]) :[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR] query_posts[COLOR= #007700]([/COLOR][COLOR= #DD0000]"post_type=post&paged=$paged"[/COLOR][COLOR= #007700]);[/COLOR] ?>
        [COLOR= #0000BB]<?php $tumblog_items[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]    [COLOR= #DD0000]articles[/COLOR]    [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_articles_term_id[/COLOR][COLOR= #007700]),[/COLOR]
                            [COLOR= #DD0000]images[/COLOR]     [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_images_term_id[/COLOR][COLOR= #007700]),[/COLOR]
                            [COLOR= #DD0000]audio[/COLOR]     [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_audio_term_id[/COLOR][COLOR= #007700]),[/COLOR]
                            [COLOR= #DD0000]video[/COLOR]     [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_video_term_id[/COLOR][COLOR= #007700]),[/COLOR]
                            [COLOR= #DD0000]quotes[/COLOR]    [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_quotes_term_id[/COLOR][COLOR= #007700]),[/COLOR]
                            [COLOR= #DD0000]links[/COLOR]     [COLOR= #007700]=>[/COLOR] get_option[COLOR= #007700]([/COLOR][COLOR= #DD0000]woo_links_term_id[/COLOR][COLOR= #007700])
                            );[/COLOR]
        ?>
        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]have_posts[COLOR= #007700]()) :[/COLOR] [COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] ?>
        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR]have_posts[COLOR= #007700]()) :[/COLOR] the_post[COLOR= #007700]();[/COLOR] [COLOR= #0000BB]$count[/COLOR][COLOR= #007700]++;[/COLOR] ?>
           
           [COLOR= #0000BB]<?php $id[/COLOR] [COLOR= #007700]=[/COLOR] get_the_ID[COLOR= #007700]();[/COLOR] ?>
               
               [COLOR= #0000BB]<?php[/COLOR] 
               [COLOR= #FF8000]//switch between tumblog taxonomies[/COLOR]
            [COLOR= #0000BB]$tumblog_list[/COLOR] [COLOR= #007700]=[/COLOR] get_the_term_list[COLOR= #007700]([/COLOR] [COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tumblog[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700],[/COLOR] [COLOR= #DD0000]|[/COLOR] [COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR]  [COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$tumblog_list[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/strip_tags"]strip_tags[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_list[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$tumblog_array[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]|[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$tumblog_list[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR]
            [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] false[COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/foreach"]foreach[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_array[/COLOR] [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$location_item[/COLOR][COLOR= #007700]) {[/COLOR]
                [COLOR= #0000BB]$tumblog_id[/COLOR] [COLOR= #007700]=[/COLOR] get_term_by[COLOR= #007700]([/COLOR] [COLOR= #DD0000]name[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$location_item[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tumblog[/COLOR] [COLOR= #007700]);[/COLOR]
                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]articles[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]article[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]images[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]image[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]audio[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]audio[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]video[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]video[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]quotes[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]quote[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_items[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]links[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]$tumblog_id[/COLOR][COLOR= #007700]->[/COLOR]term_id [COLOR= #007700]&& ![/COLOR][COLOR= #0000BB]$sentinel[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]link[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] true[COLOR= #007700];
                }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
                    [COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]default[/COLOR][COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$sentinel[/COLOR] [COLOR= #007700]=[/COLOR] false[COLOR= #007700];
                }                
            }[/COLOR]               
               ?>
               
                [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]article[/COLOR][COLOR= #007700]) {[/COLOR] ?> 
                <!-- ARTICLE POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_articles[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]image[/COLOR][COLOR= #007700]) {[/COLOR] ?>
                <!-- IMAGE POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_images[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
               [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]video[/COLOR][COLOR= #007700]) {[/COLOR] ?>
                <!-- VIDEO POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_videos[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
               [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]link[/COLOR][COLOR= #007700]) {[/COLOR] ?>
                <!-- LINK POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_links[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
               [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]audio[/COLOR][COLOR= #007700]) {[/COLOR] ?>
                <!-- AUDIO POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_audio[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
               [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$tumblog_results[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]quote[/COLOR][COLOR= #007700]) {[/COLOR] ?>
                <!-- QUOTE POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_quotes[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
                <!-- DEFAULT POST -->
                   [COLOR= #0000BB]<?php[/COLOR] woo_tumblog_default[COLOR= #007700]([/COLOR][COLOR= #0000BB]$id[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$count[/COLOR][COLOR= #007700]);[/COLOR] ?>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>
                                                
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endwhile;[/COLOR] [URL="http://www.php.net/else"]else[/URL][COLOR= #007700]:[/COLOR] ?>
                <div class="post">
                    <p>[COLOR= #0000BB]<?php[/COLOR] _e[COLOR= #007700]([/COLOR][COLOR= #DD0000]Sorry, no posts matched your criteria.[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]woothemes[/COLOR][COLOR= #007700])[/COLOR] ?></p>
                </div><!-- /.post -->
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endif;[/COLOR] ?>  
                                                                    
            [COLOR= #0000BB]<?php[/COLOR] woo_pagenav[COLOR= #007700]();[/COLOR] ?>
                
        </div><!-- /#main -->

        [COLOR= #0000BB]<?php[/COLOR] get_sidebar[COLOR= #007700]();[/COLOR] ?>

    </div><!-- /#content -->
        
[COLOR= #0000BB]<?php[/COLOR] get_footer[COLOR= #007700]();[/COLOR] ?>
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Staat er boven get_header() nog tekst zoals include(func.php); ??

Zo niet ben je of verneukt.
Of is het slecht gedaan yummie
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kijk in de code?
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Christopher schreef:
Kijk in de code?
Dat is volledige code xD
Vink knap een functie oproepen zonder die eerst te maken...

waar heb je em gekocht?
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
WP-themes
Elefolio emo
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wat een kutsite je kan niet eens normaal zoeken yummiekan je volledige link sturen ?
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gebruik je hem wel op een Wordpress installatie?
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Luukvdo schreef:
Gebruik je hem wel op een Wordpress installatie?
Haha daar zat ik ook al aan te denken toen ik WP zag yummie
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren