newboxters
Forum Replies Created
-
Forum: Themes and Templates
In reply to: To filter posts exhibitionThank you very much! Now it is working of the way that I needed. I ask excuse the whole ones for my “obsession”, in fact I didn’t pay attention in other alternatives that could be done to arrive to the same result.
But I am still with a problem. When I click in the links of this page that it is with the different template, when will read the news she opens in the standard layout, and there I made new single.php, saved as single_sub.php, but I didn’t get to do with that the news are open in this new template. Could anybody give more that help?
Forum: Themes and Templates
In reply to: To filter posts exhibitionThank you, but in spite of me already to have read some pages, I will probably have to read another to understand as accomplishing this that I want, but unhappily I will use other system that I already tested and I consider more practical for such task (CuteNews), that it simply allows to insert an include for the configuration file and to use the tags of the system, without needing of themes, could use the files in any directory.
Forum: Themes and Templates
In reply to: To filter posts exhibitionExcuse, but I am not trying to violate that, I just wanted to exhibit, to show that page.
Because I think am not getting to explain right that I want… But this very day, I lowered a theme that had the files single1.php, single2.php, sidebar_a.php, sidebar_b.php and each one had a different appearance and in that template that there is for sign several thus, all those pages can be included and shown for the user. But I didn’t get to see as that theme he/she does to exhibit pages different from the pattern of the wordpress, that is just the single.php for example.
And in my case, I also made a different page, and wanted to exhibit it, and that I want to know that I should configure to show the page index_new.php, that works in a correct way when I publish in the paste of the theme as index.php, but I want that the two are so much available the index.php (current) as the index_new.php (that is the new page that I did), and that new one I left to exhibit the last 5 publications of a specific category and for being of a special theme I used some different images in the layout of the page.
Forum: Themes and Templates
In reply to: To filter posts exhibitionI thank for the answer, but it is not exactly that that I want to do, besides I already created pages for the system, but in those pages doesn’t have as inserting code php, includes…
I created a file for the template, if I publish as index.php or single.php he is exhibited in the site, in the initial page or in the reading of the contents, respectively. But if I leave the name of the file with test.php or index_sub.php I don’t know that link I should use to exhibit that page, since I don’t want you show it in the main page and yes to leave a link for they visualize that page.
If I didn’t go clear in to explanation, inform that will try to explain better. ??
Forum: Themes and Templates
In reply to: To filter posts exhibitionBut as I can do to exhibit a page different from the ones that they are common in the templates: category.php, index.php, single.php…
If I created the page test_new.php or index_sub.php and sending for the paste of my theme, as I do to visualize her?
Forum: Themes and Templates
In reply to: To filter posts exhibitionOk, worked.
Now I only have more a doubt. I tested that in the index.php of my theme, but now I returned to the normal and me wanted to create a new page for my theme to place that code and to work. In fact, me until I already created this other file (index_sub.php) that exhibits the last 5 publications of a specific category. But as I do to activate, to open, to visualize that page? Which link that I should use?I tried: https://www.mysite.com/wordpress/wp-content/themes/my_theme/index_sub.php but it didn’t work, it exhibits the mistake:
Fatal error: Call to undefined function get_header() in /home/.paste/mysite/mysite.com/wordpress/wp-content/themes/my_theme/index_sub.php on line 1
Line 1: <?php get_header(); ?>