Skocz do zawartości

Rekomendowane odpowiedzi

Dzisiaj na stronach ze stylami pojawił się długo wyczekiwany przeze mnie styl: http://skywarriorthemes.com/oblivion/

Pobrałem go z themelock, wplocker, i z innych stron, nawet rosyjskich ale za każdym razem gdy go wrzucę na wordpressa wyskakuje błąd: 

 

 

 

Parse error: syntax error, unexpected T_REQUIRE_ONCE in xxxx/public_html/xxxxxx.pl/wp-content/themes/oblivion/functions.php on line 1 

    

Jest ktoś w stanie udzielić pomocy/rozwiązania w uruchomieniu tego stylu?

Tak, posiadam najnowszą wersję wordpressa.

Wersja PHP na serwerze:  5.3 (5.3.18) 

 

Pozdrawiam.

Odnośnik do komentarza

Dołącz do nas za darmo i naucz się zarabiać!

  • Dostęp do darmowych poradników pokazujących krok po kroku jak zarabiać w Internecie
  • Sposoby zarabiania niepublikowane nigdzie indziej
  • Aktywna społeczność, która pomoże Ci rozwiązać problemy i doradzi
  • Profesjonalne treści na temat SEO, social media, afiliacji, kryptowalut, sztucznej inteligencji i wiele więcej!

 

 

Hmm, to może mam coś nie tak jednak z wordpress'em, wyczyszczę go i sprawdzę ponownie :) Dam znać jeśli problem się powtórzy.

 

 

EDIT:

Niestety to samo. Kicha.

 

jaką masz wersję php? Oraz jaka wersja Wordpress'a ? Z jakiej strony pobrałeś styl?

 

EDIT2:

Pobrałem twoją wstawkę http://make-cash.pl/poszukuje-szablonu-gdzie-znajdę-szablon-t316/?p=18772

I ten sam problem.

 

EDIT3:

Zainstalowałem na innym blogu (zupełnie inny serwer), efekt ten sam.

Edytowane przez Marf
Odnośnik do komentarza

Mi działa, ale na początku nie chciało spróbujcie tak

 

spakujcie tylko ostatnio folder oblivion za pomoca 7zip'a

 

po wypakowaniu jest kilka wejdźcie do ostatniego i to zróbcie.

 

Troszkę nie zrozumiałe jest ostatnie zdanie :)

Masz na myśli, aby wysłać za pomocą WP spakowany styl.zip na serwer?

 

Zrobiłem tak, udało się! Leci reput dla was Panowie.

Pozdrawiam i dobranoc :)

Edytowane przez Marf
Odnośnik do komentarza

Doskonale wiem co trzeba robić bo z WP mam do czynienia nie od dziś :) Ale nigdy nie spotkałem się z takim przypadkiem, że muszę szablon instalować bezpośrednio z AP.

Póki mój temat jeszcze stoi, napotkałem kolejny problem, tak jestem laikiem w sprawach sliderów i nie umiem go wstawić do szablonu. :/
 
link: http://buzztheme.net/scripts/codecanyon/download-layerslider-v4-6-1-responsive-wordpress-slider-plugin-codecanyon.html
Pobrałem ten slider bo jest on wymagany do Obliviona, ale niestety nie wiem jak go zaimplementować, aby wyświetlał się na stronie głównej jak na stronie stylu: http://skywarriorthemes.com/oblivion/
 
Jest ktoś w stanie pomóc mi umieścić ten slider na głównej?
 
EDIT:
W dokumentacji jest zawarte takie coś:

Inserting the slider with shortcode

You can place your sliders into pages and posts with their shortcodes. You can find the shortcode for each slider in this page next to their names in the list view. To insert the slider, edit a page or post and insert its shortcode into the WordPress text editor.

Inserting the slider with the LayerSlider WP widget

LayerSlider WP supports widgets, so you can place your slider in your front-end page just by a drag n' drop. To do that, navigate to the Appearance menu on your left sidebar and select "Widgets". Grab the LayerSlider WP Widget and drop it into one of your widget area.

Please note that some themes may not support a widget area what you need. In this case, you can create a new widget area by editing your theme files. Here is the official documentation about widgetizing your theme.

Calling the slider from your theme files

Because a slider can be an integral part of your site, you may want to place it into your theme files. There is a PHP function with filtering options which you can call for example from the header.php file of your theme and it inserts your slider into your home page or certail other pages depending on your filtering settings. Here is the function definition:

layerslider ( mixed $sliderID [, string $pages] )

The $sliderID parameter can be found on the plugin page in the slider list view at the first table column.

The $pages parameter is a comma separated list of pages either by name or the ID of the pages. If you are unsure about your page names or IDs, look at their URL, it is the last component.

There is a special page name, the "homepage", with you can filter LayerSlider WP to display the slider on your home page. It is also works if you set up a static custom page instead of the default post listing.

The follwing examples are all valid, you can use either of these, you can even mix them on your own needs:

// Displays the first slider on every page
// Displays the first slider only on your home page
// Displays the first slider on a custom page by name
// Diplays the second slider on a custom page by ID
// Displays the third slider on multiple pages

It is important when you want to insert a slider to check its ID on the LayerSlider WP slider list page. When you removes some sliders, their IDs won't be reindexed and the sequence may broke up. This is important to keep persistent your sliders preventing unwanted changes on the already inserted ones.

 

Ale niestety nic mi to nie mówi...

Edytowane przez Marf
Odnośnik do komentarza

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Ta strona korzysta z ciasteczek, aby świadczyć usługi na najwyższym poziomie. Dalsze korzystanie z witryny oznacza zgodę na ich wykorzystanie. Polityka prywatności .