keepact
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Astra] Custom post template?Thank you so much for returning.
I imagined cases of removing the <article> tag from pages, putting id in the header for javascript and for blogging to change the order of things.
For example, on the search page, I had to make Grid combinations and create orders to be able to use existing markup and not create another template. Incorporating this into a simple example in your Doc would be great!
Forum: Themes and Templates
In reply to: [Astra] Custom post template?I have an open topic with the same question. Looks like we were ignored …
Forum: Themes and Templates
In reply to: [Astra] Using astra_content_page_loopI was thinking thinking anyway, it would be nice to know how to use this function to change the overall page markup for future projects.
Can you show an example? Sorry to bother you guys!
Forum: Themes and Templates
In reply to: [Astra] Using astra_content_page_loopVery good to hear this news. I’ll wait, Thank you!
Forum: Themes and Templates
In reply to: [Astra] Add Html Author StringSorry for the delay in answering, was traveling. I saw that the function you provided does not include the string but I used the function in Docs to remove and created another string with the necessary html. Anyway, thanks for the support!
Forum: Themes and Templates
In reply to: [Astra] Astra Page Info FilterThe answer to another question about “Remove” Archive: “Text” helped me and I solved it. If anyone needs this is the code:
add_filter( 'get_the_archive_description', 'custom_archive_description' );
function custom_archive_description( $description ) {
if ( is_post_type_archive() || is_month() ) {
$description = '<p>test</p>';
}
return $description;
}
PS: The answers of this support are very valuable ??
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingEverything ok now!
I realized that there is a function to choose the sidebar side or it is disabled in the customizer. I was trying to change the blog page and I believe that the configuration of the customizer has greater specificity.
Regarding the classes, I found a theme filter that only adds the ones I want (astra_body_classes) and removed the unwanted classes.
I also noticed that the ast-separate-container and as-two-container classes are part of the core that links the Blog page and with few changes I was able to customize the template and integrate with the wordpress blog and posts. Now I understand theme better and I can use all the functions (filters) when necessary.
Thanks for the attention of the support for the ticket I opened, by the way, it was very fast!
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingI was able to remove the class “ast-right-sidebar” and add the ones I wanted. The ones i could not getting take out using body_class () funcition are “ast-separate-container” and “ast-two-container”. I do not know why this happens only with these classes. Do you guys have any filters? Thank you!
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingNew discovery:
The bug persists but I figured out why it worked: I deleted <div id = “primary”> and used only the “content-primary” class.
Apparently the body classes only work with this id and I managed to get the solution in this strange way.
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingUpdates … I created a ticket for this problem but for now I was able to solve it as follows:
1 – I created a new template and called it from home.php. on my child theme.
2 – I used Wp_query to call author, excerpt, post image and etc.
3 – I put in the customizer field as “No-sidebar” and this time it worked (the sidebar left the html), however, I can still see in the main class of the body the childs classes “ast-right-sidebar” and “ast- separete-container “.
I changed the styles of these classes and everything worked normally and integrated. I do not know if this is the correct way but I did it. In the open ticket response I was informed that I would have to create a staging site but I’m developing on localhost. Anyway, thanks for the help and i hope to confirm if there is another method beyond that to achieve this.
PS: I noticed that when I click on “Preview” opens the front page, however, when I click again opens another tab with the blog page, strange … Since I have no plugins I do not know where this comes from.
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingAnother thing.
I used WP_query to show some posts and I noticed that each post block is with the classes of the Ultimate Addons for Gutenberg plugin. I already used it before but I chose to use only gutenberg to learn better about it. I deactivated and deleted the plugin months ago but apparently there are still leftovers from it in the core. How do I remove and return to the default? I send another ticket?
UPDATE: i found some posts made by the plugin that i not deleted e thats why is showing, sorry! Anyway, i will wait for the support ticket solution for the other question! thanks.
Forum: Themes and Templates
In reply to: [Astra] Sidebar Settings Not WorkingI just did it, thank you!
Forum: Themes and Templates
In reply to: [Astra] Gutenberg columns are very narrowHello, coming back to let me know that I got it but erasing the shortcode [uab] and using only the classes. I think you’ve mistaken the support forum for the Ultimate Addons for Gutenberg plugin.
This is the code:
add_action('admin_head', 'disable_astra_padding'); function disable_astra_padding() { echo '<style> .edit-post-visual-editor .editor-block-list__block .editor-block-list__block-edit { padding-left: 0; padding-right: 0; } </style>'; }
Anyway, thanks for the tip. I hope this issue is resolved in future updates ??
Forum: Themes and Templates
In reply to: [Astra] Gutenberg columns are very narrowForum: Themes and Templates
In reply to: [Astra] Gutenberg columns are very narrowHello,
I have this problem too and it makes editing very difficult. At the beginning I thought it was Gutenberg that (at an early stage) was having this problem but I changed the theme and the columns got more defined width and little (almost nothing) padding. Any news about a possible update to fix this would greatly appreciate it!