Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
GreatTaste
tagDiv Member

When i follow this link https://forum.tagdiv.com/topic/fatal-error-3/ I get a page not found error. Please redirect me.
In addition, please qualify that I understand correctly – some one would have to be trying to access my site/author.php. Is that correct? What kind of person/company would be looking for/at that type of file?
I understand that I can add a redirect to my home page etc. Is that something that I should do?
Thank you,
Teri

GreatTaste
tagDiv Member

For the missing checkbox for the category “Articles”, I found that the reason for this was because “Articles” was set as a default category and default categories can’t be deleted.

Regarding the custom post type “Magazines” posts not showing together with regular posts, it was a visual composer setting where I had to click “edit” on the Visual Composer block where the posts would show, clicking the “filter” tab and specifying the custom post type in the field “Post Type”.

GreatTaste
tagDiv Member

Thanks Catalin, that worked!

GreatTaste
tagDiv Member

Hi Catalin, thanks for the response. I tried the mentioned solution – though the styling changed, my site still only shows 6 posts per page in the search results page. By “search results page”, I’m referring to the page that is displayed as a result after doing a search. My goal is to increase the number of posts results per page so that the pagination numbers wouldn’t extend so largely (at the moment, it often extends into the 100’s).

GreatTaste
tagDiv Member

Would this solution that I found on you site work? I got this from – https://forum.tagdiv.com/custom-post-type-support/

How to create a custom single template for your post type

pick one of your favorite single templates [see image]
copy it in the root of your child theme folder
rename it to single-your_post_type.php (replace your_post_type with the wordpress id of your post type. In our sample plugin the id is td_book so the file should be called single-td_book.php)

GreatTaste
tagDiv Member

I got it to work. Thank you.
Of course, it was human error.
The old code I had said “case ‘ascending’:” when it should have been “case ‘date_ascending’:.”
I appreciate your help.
Teri

GreatTaste
tagDiv Member

How would I order by asc in a widget?

I added as you instructed above.

AND

I added the following to my functions file and now the posts order the way I want them to on a page but they don’t order properly in a widget on a sidebar.

add_action(‘wp_head’, ‘custom_change_posts_order’);
function custom_change_posts_order() {
global $query_string;
if (is_category(array(6777))) {
$posts = query_posts( $query_string . ‘&orderby=date&order=asc’ );
}
};

Viewing 7 posts - 26 through 32 (of 32 total)