adding a new article in joomla - php

I have 2 pages (say A and B)
If I add an article on page B I would like to display a short href item in page A that takes me to the just added article on page B. I am doing this using Zoomla (and php - well not yet php)
Thank you for any idea and guidance

You can just add it with manually with following steps..
just copy the url of the page B like index.php?xxxxxxx to the end so that after enable rewrite remain work..
and then paste the link on the page A article..

Related

Change tab title for Wordpress site?

I just completed a custom wordpress site for a client and am wondering how to change the tab title that you see at the top of the browser to display the name of the company instead of the whole url ... so in my example I want it to say Kirby's Moving Company instead of kirbysmovingco.com/ and then behind the name of the company id like it to display the page such as Kirby's Moving Company - Home even though it won't be visible in the actual tab since the company name is so long. I'm including a screenshot that shows how I want the tab to link by using another site that I've built and then showing the Kirby's Moving link and how it looks.
Here is the screenshot:
Any help is appreciated, thanks so much!
Check this out:
Hello, try this: https://codex.wordpress.org/Appearance_Customize_Screen (just go to Appearance_Customize_Screen > Site identity and modify the site title
Source
Also you could also read this, It might help!

Strange link bug with hyperlink in Wordpress

When I clicked on link that redirects to Main Shop page of WooCommerce, there is blank page with no products. (see link ПРОДУКТИ in top right bar above the header)
When you click on button from Main Menu it is OK (button: ПРОДУКТИ).
I disable all plugins and change the theme, but with no luck!
See here my website Shop page: https://www.mangustaceramics.com/продукти/
Example of the problem: http://i.imgur.com/KcGSK10.jpg
If you have any suggestions about the problem, I will be glad to hear them! Thank you!
These are technically different links. You can see this by copying the URL from the address bar and pasting them in a text editor.
The top right bar link gives this output:
https://www.mangustaceramics.com/%D0%BF%D1%80%D0%BE%D0%B4%D1%83%D0%BA%D1%82%D0%B8/
Whereas the main menu one gives this:
https://www.mangustaceramics.com/%d0%bf%d1%80%d0%be%d0%b4%d1%83%d0%ba%d1%82%d0%b8/
You will need to ensure that your URLs are encoded correctly or specify them explicitly using the second link above (with lowercase letters).

Wordpress: How to build a link with php-function call?

I want to add a logout link to my wordpress page.
Logout
The link is visible on the page but when i click it it redirects me to
https://www.mywebsite.de/%3C?php%20echo%20wp_logout_url(%27https://www.mywebsite.de/%27)%20?%3E
which of course result in a 404. Obviously the php code is not executed. What am i doing wrong? How can i build the link dynamically?
EDIT:
I want to place this link via wordpress dashboard to the navigation menu (Appearance -> Menus -> Costum Links). For a first try i just added the link to my front page (Pages -> All Pages -> Choose Front Page --> added link in editor to page content).
In booth cases the php code is not executed but added to the link which results of course in a broken link (404).
The control characters like "<" get substituded. The whitespaces too. Maybe it is a character encoding problem?
Logout
https://developer.wordpress.org/reference/functions/wp_logout_url/
The problem was that is not possible to execute php code in wordpress editor (which is a good thing due to security reasons).
So i found another way: I created a shortcode for generating my dynamic link/url. With the plugin 'Shortcodes in Menus' everything works just fine.

PHP link navigation inside link navigation

I created a simple webshop with PHP. The header, footer and navigation is fixed and when I click through the navigation only the main area changes and the link changes too (for exaple index.php?page=shop).
Now I want to use pagination for the articles. Every time I click on another page it will change the link too (for example index.php?page=shop?id=5). The id is the page number. But this doesn't work in PHP. It always links me to the start page.
Does anybody know how to do this?
There are only one single question mark in URL in place of two when u pass more than two parameters in URL it should be
index.php?page=shop&id=5
Like arkascha said , index.php?page=shop&id=5 then you get this parameter with $_GET['id'] , check if isset and load next pag.

URL link issues

Sorry for the title as I really have no idea what to call this.
Though with the template i've got it has links of like: index.php#home [it takes me to the class id of "home" instead of reloading an actual full page. Anyways i'm intergrating a script into it which has a blog. and for the blog its link is view.php?id=1
Anyways my panel I want it to take me is called blogp though in blogp it reads the url and finds out the id example index.php?id=1 and it takes me to the blog post with the id 1. I'm just wondering how I'd do it now that i'm using #blogp
My attempts:
index.php#blogp&id=1
index.php#blogp?id=1
But none work.

Categories