gpsy1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to change category for slider?Aaron I tried you suggestion …but this gives me page without any style…not sure why….maybe im missing something….would love simmple fix instead creating lot of caategory pages and sliders
Forum: Fixing WordPress
In reply to: How to change category for slider?I maybe have a workaround for this problem. It mite be stupid solution but that’s all i have.
Duplicate slider.php and rename it to slider2.php. Also duplicate all the slider code in gazpo-settings and adjust the name to slider2. After that rename get slider in category.php to slider2 …
Basically i just add #2 so this gives me complete new slider sand settings for it in admin area. Now it should be just a matter of creating each slider and category page and also add get_slider with different slider number to it. I should be able to change posts category in slider for each category page i created right in the admin area.
Is this a good idea or im being ridiculous and to complicating…. hope someone can comment on this.
Forum: Fixing WordPress
In reply to: How to change category for slider?Ok i think i get it… i add 3 line of code you suggested in arive.php in top of slider code which say
<?php query_posts( $post_query ); ?>
but whith this is see slider but is without any css style…do i need to create a new style for this or…?
Forum: Fixing WordPress
In reply to: How to change category for slider?Not sure what do you meen by
Above the query posts line add the three lines below.
Where exactly those 3 lines need to be added? Can you explain a bit more, please.
Forum: Fixing WordPress
In reply to: How to change category for slider?Thanx Aaron…this looks like it should work…..i will give it a try and let you know …..thanx
Forum: Fixing WordPress
In reply to: How to change category for slider?Sorry….yes it has slider.php which im trying to edit but no luck…. don’t know much about php so i was trying to solve the problem with forum threads and wordpress codex but still didint get it…..
here is theme
Forum: Fixing WordPress
In reply to: How to change category for slider?Yes im looking at that for the past few hours….it has the settings at the admin area for slider just for home page.
What im trying to do is to add slider to category pages also but to show post from that category and basically repeat that for each category and subcategory page i have. Any idea….
Forum: Fixing WordPress
In reply to: How to change category for slider?Thanx for answering and yes you are right Aaron it’s Gazpo theme but its silverOrchid.
Unfortunatly i dont see anything like the code you posted. This is what i have in gazpo-settings for the slider:
$gazpo_options = array( 'gazpo_show_slider' => true, );
function gazpo_validate_options( $input ) { global $gazpo_options; if ( ! isset( $input['gazpo_show_slider'] ) ) $input['gazpo_show_slider'] = null; $input['gazpo_show_slider'] = ( $input['gazpo_show_slider'] == 1 ? 1 : 0 ); }
I want to leave the main slider on front page as it is and showing the latest posts.
So i was thinking if i duplicate the slider to slider2 with all the functions should be ok.
So i copy slider.php and rename it to slide2.php…did the same thing with in the gazpo-settings.php copy paste the function of the slider and rename it to slider2 and copy paste slider css style and rename it to slide2.
Now it show the slider but not properly im missing main post image…..running out of ideas….
Ok that worked well i add slider call function to category.php inside the loop and it worked it show front page slider on category page.
Ok now how to change function to show parent category posts? Any idea ….thanx
I guess that was to easy to be true….
Im trying to at least make slider show on category pages since he is limited to home page only and later work on the function. In the gazpo settings is this:
$gazpo_options = array( 'gazpo_show_slider' => true,
function gazpo_validate_options( $input ) { global $gazpo_options; if ( ! isset( $input['gazpo_show_slider'] ) ) $input['gazpo_show_slider'] = null; $input['gazpo_show_slider'] = ( $input['gazpo_show_slider'] == 1 ? 1 : 0 );
Would need help to understand this and how to make it show on other pages also. Thanx
Forum: Fixing WordPress
In reply to: Blog post aren't showing up on my pagesI figured out that the static page is the front page. I want my landing page to be the static page, but I don’t see an option to to do that. It will only allow me to chose another tab page. I now have my blog posts going to the right page, but my landing page is now my about page which is not what I want. I want the landing page to just the front/home page.
Try creating new menu appearance >> menu and add new pages to it
Forum: Fixing WordPress
In reply to: Blog post aren't showing up on my pages1. Latest post (All this depends on your choice, you can set home page to show latest post which wordpress is making automatically or create static page)
2. Full width YES (This is in case if you want your page to be full width i just use the other one)
3. I use Medium (how big you want your pictures in posts?)Forum: Fixing WordPress
In reply to: Blog post aren't showing up on my pagesDid you check settings >> reading?
Do you have any post?Post the link of your blog.
Forum: Fixing WordPress
In reply to: When I login to my site, it's messed up…As i see your eshop plugin have errors…try re-installing the plugin….. or contact eshop support….