Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple signs with different "Category" displays #31

Open
j0nz opened this issue Feb 3, 2015 · 6 comments
Open

Multiple signs with different "Category" displays #31

j0nz opened this issue Feb 3, 2015 · 6 comments

Comments

@j0nz
Copy link

j0nz commented Feb 3, 2015

With the digital sign the category section has been removed from the post screen for simplicity, and I understand that, but I would like to run multiple slightly different digital signs from a single wordpress install. It is possible to have the categories added back in and the digital sign only displaying the selected category (from the URL)

Something like the standard wordpress implementation:
http://www.projectpurpose.co.nz/updates/ - Shows all the posts
http://www.projectpurpose.co.nz/category/in-mazatlan/ - Only shows post in the "in Mazatlan" Category

thanks

Jonathan Hall

@baelinc
Copy link

baelinc commented Mar 17, 2015

I would like to see this as well.

@calaad
Copy link

calaad commented Nov 17, 2015

Hi,

Very interested in this.

J0nz, Baelinc, have you find some resolution or bypass ?

@j0nz
Copy link
Author

j0nz commented Nov 17, 2015

I have not got a resolution to this on... Sorry

On Wednesday, 18 November 2015, calaad [email protected] wrote:

Hi,

Very interested in this.

J0nz, Baelinc, have you find some resolution or bypass ?


Reply to this email directly or view it on GitHub
#31 (comment).

@baelinc
Copy link

baelinc commented Nov 18, 2015

I ended up using this project: https://github.com/ox-it/ox-theme-bsg-signage

@Nikolauswied
Copy link

Create a file called single.php
copy the code from index PHP and paste it into single.php
put at line 17 /*
put at line 24 */
(between $args=array and the_post();
to disable the commands
go to java script foundation.orbit.js
there in line 12 you find the Timer speed set to 0 so the slides are permanent .
You can now reach your single Slides with the permalink ....(No more slides possible only single slides if the link is broken it would send you to the first Post ...no error page ....)
Thanks to pascal from ernw he help´s me to figure that out ...

@lonvan
Copy link

lonvan commented Feb 5, 2017

Hi,

First, thanks Nate Jones for this awesome template. :-)

I've found a little trick for displaying only posts from one category.
You have to edit index.php for this template and add a line at line 22 containing the following code:
'category_name' => get_query_var('category_name'),

$args should be like
$args=array(
'post_type' => 'post',
'post_status' => 'publish',
'orderby' => 'date',
'category_name' => get_query_var('category_name'),
);

To get back categories' management in admin console, you have to comment line 49 in function.php:
//remove_submenu_page('edit.php', 'edit-tags.php?taxonomy=category');//Categories

Then, if you reach the URL with a category's slug (like http://127.0.0.1/wordpress/category/category-slug/ where category-slug is the category I want to display), you'll see only this category sliding in the browser. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants