Forum Replies Created
-
AuthorPosts
-
The keyword here is: bypass
Bypass a WordPress Password Protected Page via urlFound a solution:
Add into function.phpadd_filter( 'post_password_required', function( $returned, $post ) { if ( !is_admin() ) { if (strpos($_SERVER['REQUEST_URI'], 'password') !== false){ if( $returned && ( $_GET['passwordd'] == $post->post_password ) ) $returned = false; } } else { $returned = true; } return $returned; }, 10, 2 );
Now, you can access the page with the url:
https://your-page.de/page?password=your-passwordSure,not the best protection but just for simple hidden pages
- This reply was modified 1 week, 4 days ago by xeovision.
Hi, no plugin.
I use the basic passwort page protection from wordpress (in page settings: publish, private, password).
The protection words with the added password.i need to know if there is a possibility to send someone a link to his page but in the links should the password be included so the use click on this link and the page opens directly without typing the password to the password field.
e.g. http://www.domain.de/protectedpage&password OR https: (Email address hidden if logged out) /protectedpage
Hope this is more clear
December 11, 2024 at 10:42 am in reply to: Customized widget above another widget but only on one page #1473414That works perfect.
Thank you very much for the support and for the explanation.December 10, 2024 at 9:03 pm in reply to: Customized widget above another widget but only on one page #1473381hmm .. i am looking for a add_action snippet like this one:
add_action( 'ava_after_content', 'enfold_customization_category_widget_area' ); function enfold_customization_category_widget_area() { if (is_page(3416)) { dynamic_sidebar( 'Maps' ); } }
…could find a solution with widgets..
Can be closed here
No, there have been several Plugins mentioned in the header but with same error line but ok for now, i have deactivated it in the config
I have seen, there was debug true in config file.. have set it on false but still the question, does it make any errors in page?
hmm .. Download Manager would be something close to my needs but for 11 gif of files to much work :)
I need something like a folder structure (like with windows folders) on the Server with access over WP role ..oh man .. as simple as it is :)
Thx for the hintso, we can close here
Thx MIke .. i found a solution that set it to the middle
#main .avia-section {width:1080px; display: block; float: none; margin: 0 auto; }
But now, the mobile view does not work, when i delete the float:none .. it jumps again to the left
ahhh .. cool .. works fine. Thx.
..we can close here.August 12, 2024 at 5:21 pm in reply to: Define specific image per page with link forwarding #1464468I am using Rank Math SEO but there is no such function to set a link image.
I mean the image when you copy a link into chat like here as example:WP takes one of the images but e.g. not of the main product. I remember there was a workaround solution with code snipped in the header where you can define which image should be added to which page link. I thought there would be a plugin meanwhile…
But if Yoast should really have this function so it should be also in Rank Math …- This reply was modified 4 months, 1 week ago by xeovision.
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 6 months, 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 6 months, 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 8 months, 1 week ago by xeovision.
-
AuthorPosts