I am using piwik analytics but i want to hide the top bar of the piwik when i view that in an iframe
http://prntscr.com/i5n3dy
how can do it, i tried looking into the code but it is using framework which i am not aware of and anything which i can write in the config file so it should not display in the iframe itself.
I went through the code documentation but could not find such information and even checked the github but to no avail, i found somewhere we can use use keycombination to z to hide it, but that is temporary solution.
Thanks.
If you only wan't to show the dashboard, widgets would solve your issue.
When you use the following URL (try it out), it will only show the dashboard without the top navbar and the sidebar.
https://demo.matomo.org/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=3&period=week&date=yesterday
Otherwise you may wan't to look into theming to apply custom CSS.
Related
im working on adding and modifying the content of a website, but im having multiple issues with the very basic functioning of the editor. Please keep in mind i didnt build this site myself, so i might not be aware of many things that may be obvious to you.
If left unmodified, to the user, the site shows no issues whastoever, it is I as the administrator who experiencies all these issues.
I will describe/ show the issue and give a list of the things i have tried already.
While looking at Cpanel's PHP admin app, and the htaccess file, i see the php version is 7.4. However, while using wordpress, the site health status tool warns me that im using php version 7.1.33
Im not getting the admin bar when looking at the website, it just shows a white bar with nothing else.
3.If i go to the backend editor and try to customize the template im using (called Jupiter 5) i get very few options in the side bar, it doesnt show things like header options for example. And i have no floating editor options on the site itself, i get no tools, nothing.
See image
When i go inside wordpress to "pages" and try to edit a page, the editor box shows the content with the code included or shows nothing while using the "visual composer" mode. This is how it looks
When i try changing the template, the content appears like this. A huge mess, though some editor controls show up in this case
6.I tried using plugin detective but when i launch it, and it asks for my credentials, i hit login yet it does nothing.
I tried disabling all plugins, only header and bottom show up kinda normally, the body becomes text with code like the image of point 5. I still dont get the admin bar on site.
If I, after disabling all plugins go to pages, then select any page and click "edit", the adress of the site shows im on the edit page, but the page itself is completely blank, i dont even get the wordpress bar at the left.
If I disable all plugins, then activate only a plugin called WPBakery, the body of the site stops showing text with code and actually shows most visual elements, no edit options though, except for a small text at the bottom. A weird thing about this plugin is that despite of its name, when activated, it shows up as "Visual Composer" instead of WPBakery.
So far, besides disabling plugins and testing, i have only tried Updating Wordpress, the only thing that changes is that the admin bar finally shows, but the "customization" mode remains exactly the same, useless.
Classic editor is already installed btw.
I hope someone can help me, thanks.
I have a strange situation: I have a Wordpress site which includes an area to paste analytics code. I've done so. However, we're getting messages from google saying there is a tracking code mismatch. After calling Google we viewed the page source of the site and the SECOND analytics code is indeed there. It's preventing the REAL analytics code from firing. I just want to remove it.
However, there is only one place to put the tracking code in my site and that's where I've put the valid tracking code. I use Dreamweaver for my FTP stuff and have done a site-wide search for this extra analytics code and NOTHING shows up.
I've checked header.php, footer.php, index.php separately. The only thing I see is PHP code saying place analytics code here (i.e. from the theme options).
Where the hell is this second script and how can I find and delete it? Thanks for any help. I'm pulling my hair out about this.
Is the second/invalid analytics code appearing right above or below the first? Or is it in an entirely different area in the source code?
It may be a bug with the Wordpress theme you're using, or you might have a plugin enabled that has some predefined settings for inserting Analytics code. It might even be a widget. You could try disabling your theme/plugins to troubleshoot.
Temporary solution would be to remove the code from the Wordpress backend and add it into header.php or footer.php manually.
Normal when i try to customise WP style i would use inspector view in Chrome and this would allow me to locate style code easily.
i was wondering how i can do the same for HTML or PHP code in WP such as plugins and the CMS it self?
Thank you
PHP is server side code and can't be found in the browser. If you want to see the code for WP plugins then you'll need to either download the plugin to your local machine or view the files on the server hosting WP.
Iassume you run it on your own root-/ webserver,...
so if you want to add HTML Elements to a post or site just do it in the text few like you would in an HTML-Editor like for some link thing for instance (you should allready know that..'pretty shure it also works for js).
However if you want to customize the way every page on your blog looks, you can also do this manually, but it won't be as easy.
There should be a section under the theme customization part where you could upload your own css and php (at least with a lot of styles it's like that).
I WOULD NOT mess with the files on your server, if you don't know what you are doin, cause - to be honest - you can make a great blog/ website by using the tools it gives to you. ;)
I recommend using the stylesheet from your wordpress theme for a custom HTML-document based on the source of a blog page, if you go for the looks... and in every other case just use plugins! :P
I am working on this new site and am having difficulties implementing this one functionality. The link is:
www.bigideaadv.com/adaptive2
I am using the Supersized.js plugin to make the image fit the size of the browser no matter the size or shape. I have also implemented a Wordpress blog as well under news+events. What I'd like to do is have the blog slide up from the bottom when you click on the link and back down when you click on another page. Exactly how the blog link works here:
www.ultranoir.com
I originally had all of the content shoved in the header.php file in Wordpress and was doing show hides. Needless to say, I was unsuccessful. Wondering if anyone had an thoughts.
Thanks in advance.
You may want to look into Wordpress Theming. It's pretty straight forward and there is a lot of great documentation found here:
http://codex.wordpress.org/Theme_Development
You wouldn't want to put all the code into the header.php file because that's not how wordpress works. You'll want to edit other files such as single.php and index.php.
Though for the "slide up / down" you should be able to use some simple jQuery for this:
$('#yourSlideMenuButton').slideToggle("slow", function(){
//do something when finished.
});
Please be careful not to plagiarize the other design!
Basically I want to replicate the page changing effect found here, at http://timvandamme.com/
But instead of using #values I want to use PHP includes, mainly because I want the site to be as uber-seo-friendly as possible... but still have this nice effect.
So is there a way of doing this? I have a main index file which includes other php files in the centre using the usual 'GET' method, so my pages look like: "index.php?page=about"
In my jQuery code I want to have a declaration where if I click the navigation, the content scrolls up, then once the relevant PHP file has loaded, have the content scroll back down and show the new page content (whilst also of navigated to the new page in the address bar, so if the user clicks the back button in their browser, they return to the previous page).
I know how to code the scrolling bits, it's just literally the ajax loading includes / page navigation parts I'm struggling to work out :\
Any help would be MUCH appreciated! Thanks in advance.
Use standard links in your navigation. In your onClick function, use event.preventDefault() to prevent the pages from redirecting your actual users (but they still appear as normal links to search engines).
Foo
<script>$("a").click(function(event){
event.preventDefault();
navigate($(this).attr('href'));
});</script>
Use the onClick function of the links to change the page's content with AJAX (just like it appears on the site you linked), but additionally set up each "page" (using error documents, mod_rewrite or something) to display its content, but allow navigation in this same way. By doing so, you will have the same functionality with the search-friendliness you desire.
To add to the others, some search engines understand this problem and offer site map utilities. You can check out google's site map solutions here:
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156184
The site map will allow you to explicitly inform google about certain uri's (like http://timvandamme.com/#about).