Forum Replies Created
-
AuthorPosts
-
I have seen your change MIKE
add_action('ava_after_main_title', 'ava_after_main_title_one'); function ava_after_main_title_one() { $post_id = get_the_ID(); if(get_post_type( $post_id ) == "post" && has_category('veranstaltungen')) {
Pretty cool .. many many thanks
…so i am glad and we can close here
Without css change:
1) Work with 3 coluns instead of 4, so they will be larger
2) Use Linktext like “Write us” instead of the whole email OR user shorter EMail like info@ahh .. ok, now, i can save it.
Both different header are shown. So, now i need to make the opposite invisible… I thought it will be only ony dispayled when using unique IDshmmm…something will not work like you wrote :)
I add 2 header areas and gave each a differen page ID .. so far so fine but i could not save it and get always this error
Cannot redeclare ava_after_main_title_mod() (previously declared in wp-content/themes/enfold-child/functions.php:63)/* area img on archive Events
add_action('ava_after_main_title', 'ava_after_main_title_mod'); function ava_after_main_title_mod() { $post_id = get_the_ID(); if(get_post_type( $post_id ) == "post" || is_archive('3658')) { echo 'xxxxcontentxxxxx'; } }
/* area img on archive Bücher
add_action('ava_after_main_title', 'ava_after_main_title_mod'); function ava_after_main_title_mod() { $post_id = get_the_ID(); if(get_post_type( $post_id ) == "post" || is_archive('3443')) { echo 'xxxxcontent-2xxxxx'; } }
Whats wrong here?
Thanks, that might be the way, seletive header by category .. but how should it looks like?
if(get_post_type( $post_id ) == “post” || is_archive() || is_category()) {
?-
This reply was modified 1 month, 2 weeks ago by
xeovision.
I have record it as short clip for better understanding
Yes but you see the same head area “Veranstaltungen” on both sides. So the text does not fit to the Books page.
Sure the reason is that i use the blog for 2 different contents.So i need a workaround in function.php that display different header area in “Veranstaltungen” and “Books” .. maybe controlled by the page ID?
It is difficult to describe, but see the area block (brown with with H1) and open an event. On new browser window open a Book description, you see that both has the same header with content and headline from Veranstaltungen because we defined it in the function.php that this one should be shown on single blog event. This is bcs i use Veranstaltunge AND books as blog pages.
-
This reply was modified 1 month, 2 weeks ago by
xeovision.
Hi .. good idea, so i did setup a plugin for such view .. it works like expected.
BUT – it is always a but :) … i using the blog system for news and also products.Display on 2 different pages, page NEWS shows news the category A and PRODUCT page shows the category B.
This works fine.
The problem is now, that on the blog news single page i have added the area block from page NEWS .. so this NEWS block comes also on the page with PRODUCTS .. this shows a wrong headline now .. is here an option so add in functions that differse inbetween both pages?If page NEWS show area 1
If page PRODUCTS show area 2
?ahhh ok, understand..you have used the html code from the Inspector.
I used the [av_section] that was provided by Enfold system .. good to know that it also works so easy :)Thx
(we can close here)no, this was nt the issue, i have marged them all together but still the same.
cool .. so overloaded css :)
Thank you
we can close hereaccess in PM
Yes, you’re irght .. after empty the browser cache it appears like expected.
Thanks you for help.
We can close this ticket.No, it seems not to work
hmm, this was a complete fresh setup with no adjustments in compressen … where in the Enfold have you made these changes?
or was it as standard set by Enfold?Please see the PM
ahhhhh … understand now .. seems to work :)
Thx .. so, we can close here
Thats what i am searching .. but i can not see any ending setting
-
This reply was modified 3 months, 1 week ago by
xeovision.
Found it now .. how stupid :=)
/en/ does not exist as single page so i set it as redirect to /en/home …
Ticket can be closed .. thx
Yes, but if want to avoid to select every time the full size .. i would prefer when “full size” is set as default
Found it in the after CSS
Can be closed
ok, thank you for the update.
We can close hereFound the issue, Firefox stop automatically playing unless you activate it in the url line… is there a possibility to play it without activating it manually?
Top .. thank you.
Top ..thats what i didn’t know what the page id it is… i added ” || is_search() ” and it works fine.
Just one thing .. where does the sidebar comes from? There is no widget with this content … can this be deactivated?
Sure i can do it by css but can i do it also in template?-
This reply was modified 5 months ago by
xeovision.
Hi Ismael… it is a horror with the individual pages :)
I have the same issue with the header on search result pages, what would be the code for this page?Had same issue, check here: https://kriesi.at/support/topic/blog-add-header-transparent-to-archive-page/
PERFECT. Many many thanks for this support.
..we can close this here
Top .. thats it… thank you
…we can close here
-
This reply was modified 1 month, 2 weeks ago by
-
AuthorPosts