Home Forums Search Search Results for 'project permalink'

Viewing 30 results - 1 through 30 (of 31 total)
  • Author
    Search Results
  • francois.krikorian
    Participant
    #563321

    Hello,

    Thanks a lot for the solution. I thought it was 100% but only at 61%/ Although most of the non translated are backend stuff these 2 were missing.

    FYI, took me a while, but I did modify in GLOTPRESS:

    Page 72: For %s item to French in singular and plural Permalink to translation

    Page 96: Add to cart to “Ajouter au panier” Permalink to translation

    Waiting to be accepted.

    Would be nice if there was a Search option in GLOTPRESS to find the string or at least have like a 100 strings per page and use the Search function in browser to locate the string faster.

    You can close this issue.

    DaveShishkoff
    Participant
    #541558

    Hey again, so I’ve given the Portfolio/Projects section a try, and it’s partially working.

    When I edit a Project, I’ve got the header option, which is great.

    I’ve used the slug ‘animals’, and that’s working with the Archive (see link in the hidden section.)

    However if you try clicking on the Project/Animal entry, it comes up with a 404 error. (Same with the other demo Projects.)

    I’ve tried the ‘Save Permalinks’ save a couple times, but not having much luck, not sure why those posts aren’t showing, thanks!

    cris.rhythm02
    Participant
    #523251

    Hi there!
    Here’s the Problem I need to solve:

    – I want to change the default permalink only for the portfolio (https://www.eroformer/portfolio/) section
    as I want to change this portfolio URL from (https://www.eroformer/portfolio/) to (https://www.eroformer/courses/)

    And need to change the Portfolio Categories
    “project-cat”
    (https://eroformer.com/project-cat/ebooks/)
    to –
    (https://eroformer.com/courses/ebooks/)

    Could you please help me with that?
    Looking forward!

    • This topic was modified 4 months, 2 weeks ago by cris.rhythm02.
    francois.krikorian
    Participant
    #522762

    Hello,

    I am having two very serious issues with the theme, one seems to be caching with WP Rocket and the other one is just crazy behavior with Permalinks, and it seems like every attempt is one step forward two steps back. My main concern is that my website is not a project but a running company generating sales and I am very limited on the actions I can take by daytime.

    I recently installed your theme (coming from Essentials Theme) and I’ll be honest, it’s night and day. Very pleased so far by the possibilities. Especially the shop templates with conditions. It appears that all good things come with downsides. Let’s hope this is not it.

    1) Styling going crazy.

    It’s a behavior that I saw twice already, and the only solution was to deactivate WP Rocket (Version 3.15.6). For some reason, it happens that my styling just disappears. No more logos, rounded borders or sort. Plainly dead. Don’t know why, don’t know how but just gone. What I tried before deactivating WP Rocket

    – Cleared WPRocket Cache
    – Clear Browser (Firefox / Chrome / ISO / Chrome on Iphone)
    – Stop having separate caches for mobile
    – Stop having cache for registered users
    – Any CSS or JS unchecked
    – No defered or reported JS
    – No CDN
    – Manually deleted the WPRocket cache folder on FTP and deleted the wp-rocket-config

    Somehow, twice, on mobile OR desktop, CSS just went nuts.

    Solution for now: Deactivate WP Rocket. To be sure, deactivating puts back my website to normal css. Unfortunately, downside is speed. I am going to be honest, with WP Rocket your theme is lightning speed. Seriously fast. My scores were never been this high on GTMetrix Pingdom or Google Lighthouse. WP Rocket is a must, I need to find a workaround… Maybe there is a configuration I am missing ?

    2) This is the no no part. It’s 03:25, and I need a solution in a couple of hours. I need at least 4 hours to go back to my previous theme. so solution needs to come fast… no pressure.

    Somehow I can NOT access my website pages. I get a 404. Same as above, happened twice, for now reason. removing WP Rocket does not help. I do have access to the main page, I do have access to the backend. No pages or articles are available AND return a 404.

    Solution: Reseting Permalinks. Resetting the permalinks solves the problem. The issue is, it is not related to users. When the website goes nuts on 404, my home PC gets the 404, my phone, my office and I called the little sister to check on her computer… after resetting the permalinks.. Everything came back fine.

    To finish

    The 404 issue is very weird. I do have my server log attached for errors, I also have the web requests witht the 404 showing (trying to look at the behaviour before the 404) but nothing comes up to my eyes.

    The only thing i see is:

    PHP message: WordPress database error Table ‘wp_wpr_rucss_used_css’ already exists for query CREATE TABLE wp_wpr_rucss_used_css

    Which inside my database is empty. Seems like this is related to WP Rocket used CSS…

    As of now, everything is back to normal, WP Rocket is on but NO options have been selected so its pretty much useless. I am waiting for the 404 to show up again…

    Thanks for any suggestions.

    Attachments:
    You must be logged in to view attached files.
    Travis
    Participant
    #507371

    The Portfolio page breadcrumbs is still shown as “Project” even though the Portfolio page permalink is set as “portfolio” and the Theme Settings for Portfolio has been set to “Portfolio.” It still doesn’t reflect even after I create a new page. The breadcrumbs only reflect correctly when a specific category is selected in the filter.

    Attachments:
    You must be logged in to view attached files.
    scs
    Participant
    #472418

    Hello, Mit here from Simplified Consulting Solutions. We are an accounting firm & have created a service website using woodmart. We want to create various pages for each of our services using the “Project/Portfolio” option.

    For the same, I have created a separate page named as “Our Services”. I have set it as the default portfolio page from the theme settings.

    I have set the Portfolio project URL slug as- “our-services” & Portfolio category URL slug to “our-services”.

    Now all is working well except one thing: My project category pages are showing “404 not found”. I have set the permalink as post name. What is the issue here?

    My our-service page is working properly, individual projects that I add are also showing up with correct uRl. Only the category pages are showing problem. I am attaching screenshot below for your reference. (In the screenshot- The category name is “India”

    Attachments:
    You must be logged in to view attached files.

    In reply to: change portfolio URL

    tobat7
    Participant
    #459955

    I deleted ‘portfolioL‘ page, created a new one ‘progetti’, set this new one as portfolio page, resaved permalink in wp settings. but nothing changed: Portfolio project URL slug is always ‘portfolio‘ instead of ‘ /lavori‘.

    What else can we do?

    • This reply was modified 1 year ago by tobat7.

    In reply to: change portfolio URL

    tobat7
    Participant
    #459502

    Thankyou Elise,

    I changed the url as requested and resaved permalink in wordpress settings, but nothing changed, Portfolio project URL slug sticks to ‘portfolio’ while I need it to be ‘lavori’

    what else can I do?

    please feel free to operate yourself on the portfolio page ‘portfolioL’ and in the theme/wp settings

    chuckpasnorris
    Participant
    #440423

    Hello,
    I’m trying to set the Portfolio page and the projects list doesn’t show on this one. I read that i must resave the permalinks but i don’t know how to do it. Can i get your help ?

    Thank you.

    Attachments:
    You must be logged in to view attached files.

    In reply to: Case Study Post Type

    #407379

    Hello,

    Please disable the plugin Permalink Manager Lite it breaks the portfolio.

    In addition, try to change design or add featured images to projects to see the portfolio.

    If you have any questions please feel free to contact us.

    Best Regards

    ryadigital
    Participant
    #343909

    Thanks Elise, but seems like what you posted above seemed to work.

    For anyone else who might stumble into this issue:

    Instructions to Achieve URL Pattern:
    yourwebsite.com/projects/your-project-name
    yourwebsite.com/blog/your-blog-title

    1. Go to Settings > Permalink
    -Select custom structure and use this value:
    /blog/%postname%/

    2.) Go to Theme Settings > Portfolio
    -Project Portfolio URL Slug:
    projects

    -Project Portfolio URL Slug:
    projects

    (Remember to hit save!)

    3.) Find this theme file:
    wp-content/plugins/basel-post-types/basel-post-types.php

    Find: ‘rewrite’ => array(‘slug’ => $portfolio_slug),
    Replace With: ‘rewrite’ => array(‘slug’ => $portfolio_slug,’with_front’ => false),

    (There were multiple instances of this find and replace – I believe it occurred twice)
    (You might see the second occurance at Line 524)

    4.) Double check to make sure you saved your Permalinks and Theme Settings!

    #324450

    Hello,

    You can set Portfolio project URL slug and Portfolio category URL slug in the Theme Settings > Portfolio.

    The Blog post and categories URLs are configured in the Dashboard > Settings > Permalinks

    If you have any questions please feel free to contact us.

    Best Regards

    Pernilla
    Participant
    #299362

    I changed the Portfolio project URL slug to “tjanster-objekt”. And it works fine.
    I also changed Portfolio category URL slug to “tjanster” in order to make the button link “back to list” to go there, but it does not work.
    I have resaved permalinks.

    Sanja
    Participant
    #284993

    Hi!
    Ok, will do so next time.

    Your reply:1,2,6,8,9) Please Provide with some relevant screenshots with the URL of the website to check it myself and help you out accordingly.
    – Website is on maintenance mode.

    3. I need to change the color of hotspot buttons to color #23675d
    .wd-image-hotspot .btn.btn-color-primary {
    color: #FFF;
    background-color: #23675d;
    }
    – This changes call to action button and I meant on pulsing buttons on each project.

    4. How to change the default setting for social icons to be from share to follow (on projects, products, blog, wishlist, etc.)?
    Your reply: ) You can find the Settings for the social icons from Theme Settings >> Social Profiles.
    – This is for share and I need follow by default (this appears on wishlist, projects, blog etc.). I turned this feature off and entered links in social profiles. On pages which can be edited with elementor this is applicable, but on wishlist, project and blog I don’t know how to set this to be follow.

    5. I have created a new page with a Portfolio template. Page title is Korporativni pokloni, but in the breadcrumbs is Portfolio, I want to change it to Korporativni pokloni.
    Your reply: Please try re-adding the Slug from the settings and then resave permalinks then clear cache and check back.
    – Did it, no changes.

    7. After the theme update when I click on any category on the Portfolio page (i.e. Korporativni pokloni) it is showing 404.
    Your reply: It seems that the category doesn’t exist. Please make sure that the category you are trying to visit exists. Then clear cache and check back.
    – Categories exist and showing on each project and on the page above them. I have test site on localhost which is not updated and it is working just fine.

    Thank you in advance!
    Regards

    Sanja
    Participant
    #284422

    Hello!

    First of all, thank you for being so responsive.
    I have several issues to be resolved or navigate how to resolve them on my own.

    1. Homepage parallax – there is no parallax effect.

    2. Sticky sidebar even though it is turned on, it is not sticky (About us 2, now “O nama”).

    3. I need to change the color of hotspot buttons to color #23675d

    4. How to change the default setting for social icons to be from share to follow (on projects, products, blog, wishlist, etc.)?

    5. I have created a new page with a Portfolio template. Page title is Korporativni pokloni, but in the breadcrumbs is Portfolio, I want to change it to Korporativni pokloni. In the Theme Setting URL is set to korporativni-pokloni and permalink saved, but no effect.

    6. Also, when I am on Korporativni pokloni page in the tab is showing Portfolio Archive. I want to change it to Korporativni pokloni.

    7. After the theme update when I click on any category on the Portfolio page (i.e. Korporativni pokloni) it is showing 404.

    8. After I updated the Woodmart core when I go to any project, the content, which is on the right side of the photo, after scrolling goes down and sometimes even duplicates on a second and disappears.

    9. Categories in the Portfolio page on mobile preview are on horizontal scroll, which is not good for mobile usage and the last few letters on the right side are blurred. How to resolve this?
    10. I also need to reorder the categories, can I do this with a plugin, will it affect project categories. If yes which one do you recommend?

    11. How can I edit Portfolio (Korporativni pokloni) page? I want to add some text above. When I try to edit it with Elementor the following appears (see screenshot attached)

    12.I wanted to remove My Account sidebar from the wishlist and fount in the forum the same request, so I added the following to Global Custom CSS:
    .woodmart-my-account-sidebar{
    display:none;
    }
    Just wanted to double check if this is correct.

    13. What pages must NOT be deleted as functional ones?

    Thank you in advance for your support.

    Attachments:
    You must be logged in to view attached files.
    melinna
    Participant
    #272890

    Hello.
    First of all, thank you for creating feature to change Portfolio project URL slug. I have successfully use it. Re-saved permalink too.
    But on single portfolio page, when i click the “back to list” on navigation, the link still shows ‘portfolio’ how to change the link ?

    second question, if i filter a category in portfolio page, then i go to the portfolio, and when i go back, is it possible to show the last filter i chose before?

    thank you

    WoodyP
    Participant
    #228386

    Hello,
    some questions.

    1) How can I change “Projects” to “Manufacturers”
    I would like the contents created in “projects” not to be linked to the portfolio, I would also like to change the permalink.

    2) How can I deactivate the Download tab in the user profile?

    I’m waiting
    Thank you

    Vianney-Victoria
    Participant
    #219466

    Really Simple 😀 , Thanks for your help.
    So for the next one just go in:
    Theme Settings >> Portfolio.
    Then go to Settings >> Permalink and click just Save changes button to refresh the permalink.

    Just 1 more question, is it possible to do that :

    https://kiwifrench.co.nz/{{custom_name }}/{{project_cat}}/book-a-private-cocktail-bartender/

    Right now I can’t get the cat_name in the Url…

    #219463

    Hello,

    Your issue has been solved. I have found that you are using the old version of the Woodmart core plugin, I have updated the plugin now and changed the custom URL for projects in Theme Settings >> Portfolio. http://prnt.sc/u1h9k1

    Then go to Settings >> Permalink and click just Save changes button to refresh the permalink.

    Now the URL for the portfolio has changed https://kiwifrench.co.nz/customportfolio/beekeeping-experience/

    Best Regards.

    morgannl
    Participant
    #216111

    Hi,

    I’d like help in changing the label for “Related Projects” to something more relevant like “Explore More” or “You May Also Like”. I am using the Portfolio section to showcase our motorcycle inventory.

    Another label needs renaming is the breadcrumb at the Main Portfolio Page Title – “Home/Projects”. I want to name it to Home/Motorcycles. I’ve changed the permalink to Motorcycles but it didn’t reflect at the breadcrumb at the title section.

    Attachments:
    You must be logged in to view attached files.
    Artem Temos
    Keymaster
    #210998

    Hello,

    You can change the portfolio page slug in Dashboard -> Pages -> edit portfolio page. And if you want to change the slug for single projects you can use our options in Theme Settings -> Portfolio. You will need to resave permalinks via WordPress Dashboard -> Settings -> Permalinks after your changes.

    Regards

    In reply to: Portfolio slug change

    brandcatmedia
    Participant
    #205398

    Hello Team,

    I have successfully changed the slug as per said but I am facing 2 issues.
    1. The permalink is showing me as testimonial but my breadcrumb is still showing me portfolio
    https://www.heenakochhar.com/testimonial/
    https://www.heenakochhar.com/testimonial/test-3/

    2. Below its showing related project, either I want to hide it or change it to testimonial only

    #188514

    Hello,

    Unfortunately, there is no option to set 4 related projects in the single portfolio page.

    The portfolio page is the functional page. You cannot edit it. If you want a page, having your custom content and portfolio items, you would better create a page with your content, and add the Portfolio element form the WP bakery page builder chart.

    As for the breadcrumbs, most likely you have configured the Permalink and the settings influence the Portfolio as well. By default breadcrumbs for the portfolio looks like this: https://woodmart.xtemos.com/blog/portfolio/sollicitudin-moles-malesuada/

    Best Regards

    Mert
    Participant
    #162972

    hello I am setting the projects on portfolio but there is one problem. How can I change portfolio permalink, I wanna write “çalışmalarımız” in terms of portfolio

    Attachments:
    You must be logged in to view attached files.
    Artem Temos
    Keymaster
    #125339

    Hello,

    Try to create a file content-portfolio.php in the child theme with the following code

    <?php
    /**
     * The default template for displaying content
     */
    
    global $basel_portfolio_loop;
    
    $size = 'large';
    
    $classes[] = 'portfolio-entry';
    
    if( !empty($basel_portfolio_loop['columns']) ) 
    
    $columns = ( ! empty( $basel_portfolio_loop['columns'] ) ) ? $basel_portfolio_loop['columns'] : 3;
    
    if( ! is_single() ) {
    	$classes[] = basel_get_grid_el_class(0, $columns, false, 12);
    	$classes[] = 'portfolio-single';
    	$classes[] = 'masonry-item';
    	//$size = 'medium';
    }
    
    $cats = wp_get_post_terms( get_the_ID(), 'project-cat' );
    
    if( ! empty( $cats ) ) {
    	foreach ($cats as $key => $cat) {
    		$classes[] = 'proj-cat-' . $cat->slug;
    	}
    }
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>>
    	<?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment()  && ! is_singular( 'portfolio' ) ) : ?>
    		<header class="entry-header">
    			<figure class="entry-thumbnail">
    					<?php if ( ! is_single() ): ?>
    							<a href="<?php echo esc_url( get_permalink() ); ?>" class="portfolio-thumbnail">
    								<?php the_post_thumbnail( $size ); ?>
    							</a>
    						<?php else: ?>
    							<?php the_post_thumbnail( $size ); ?>
    					<?php endif ?>
    				<a href="<?php echo esc_url( wp_get_attachment_url( get_post_thumbnail_id($post->ID) ) ); ?>" class="portfolio-enlarge"><?php _e('View Large', 'basel'); ?></a>
    			</figure>
    		<?php endif; ?>
    
    		<div class="portfolio-info">
    			
    			<?php if ( is_single() ) : ?>
    				<h1 class="entry-title"><?php the_title(); ?></h1>
    			<?php else : ?>
    				<h1 class="entry-title">
    					<a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php the_title(); ?></a>
    				</h1>
    			<?php endif; // is_single() ?>
    
    			<?php 
    
    				if( ! empty( $cats ) ) {
    					?>
    					<ul class="proj-cats-list font-alt">
    					<?php
    					foreach ($cats as $key => $cat) {
    						$classes[] = 'proj-cat-' . $cat->slug;
    						// get_term_link( $cat, 'project-cat' ); 
    						?>
    							<li><?php echo esc_html($cat->name); ?></li>
    						<?php
    					}
    					?>
    					</ul>
    					<?php
    				}
    
    			 ?>
    		 </div>
    	 </header>
    
    	<?php if ( is_singular( 'portfolio' ) ) : ?>
    		<div class="entry-content">
    			<?php the_content(); ?>
    		</div><!-- .entry-content -->
    	<?php endif; ?>
    
    </article><!-- #post -->

    Regards

    mike421
    Participant
    #102754

    Thanks but it’s not working, permalink is ok with /prestations/ but project pages are in 404.

    Did i wrote correctly, please check (once prestations in place of my-slug)

    add_filter(‘register_post_type_args’, ‘portfolio_to_my_slug’, 10, 2);
    function portfolio_to_my_slug($args, $post_type){

    if ($post_type == ‘portfolio’){
    $args[‘rewrite’][‘slug’] = ‘prestations’;
    }

    return $args;
    }

    mike421
    Participant
    #102621

    Hi i need to work with project types and i want to change the /portfolio/ permalink i see this forum post from 2016 https://xtemos.com/forums/search/project+permalink/ but quite complex, do you have another solution ? Thanks for answer

    vinirossi
    Participant
    #38811

    I want to use the Custom Post Type “Projects” to present the producers of the wines which my customer sells. Unfortunately, I cannot change the permalink of projects. It seems to be fixed to /portfolio/. What I need ist ../bodegas/url-to-project-element

    Artem Temos
    Keymaster
    #28296

    Hi,

    Try to add the following code snippet to the functions.php file in the child theme change the breadcrumbs and add “Blog” link there

    function woodmart_breadcrumbs() {
    
    		/* === OPTIONS === */
    		$text['home']     = esc_html__('Home', 'woodmart'); // text for the 'Home' link
    		$text['category'] = esc_html__('Archive by Category "%s"', 'woodmart'); // text for a category page
    		$text['search']   = esc_html__('Search Results for "%s" Query', 'woodmart'); // text for a search results page
    		$text['tag']      = esc_html__('Posts Tagged "%s"', 'woodmart'); // text for a tag page
    		$text['author']   = esc_html__('Articles Posted by %s', 'woodmart'); // text for an author page
    		$text['404']      = esc_html__('Error 404', 'woodmart'); // text for the 404 page
    
    		$show_current_post  = 1; // 1 - show current post
    		$show_current   = 1; // 1 - show current post/page/category title in breadcrumbs, 0 - don't show
    		$show_on_home   = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show
    		$show_home_link = 1; // 1 - show the 'Home' link, 0 - don't show
    		$show_title     = 1; // 1 - show the title for the links, 0 - don't show
    		$delimiter      = ' &raquo; '; // delimiter between crumbs
    		$before         = '<span class="current">'; // tag before the current crumb
    		$after          = '</span>'; // tag after the current crumb
    		/* === END OF OPTIONS === */
    
    		global $post;
    
    		$home_link    = home_url('/');
    		$link_before  = '<span typeof="v:Breadcrumb">';
    		$link_after   = '</span>';
    		$link_attr    = ' rel="v:url" property="v:title"';
    		$link         = $link_before . '<a' . $link_attr . ' href="%1$s">%2$s</a>' . $link_after;
    		$parent_id    = $parent_id_2 = ( ! empty($post) && is_a($post, 'WP_Post') ) ? $post->post_parent : 0;
    		$frontpage_id = get_option('page_on_front');
    		$projects_id  = woodmart_tpl2id( 'portfolio.php' );
    		if (is_front_page()) {
    
    			if ($show_on_home == 1) echo '<div class="breadcrumbs"><a href="' . $home_link . '">' . $text['home'] . '</a></div>';
    
    		} else {
    
    			echo '<div class="breadcrumbs" xmlns:v="http://rdf.data-vocabulary.org/#">';
    			if ($show_home_link == 1) {
    				echo '<a href="' . $home_link . '" rel="v:url" property="v:title">' . $text['home'] . '</a>';
    				if ($frontpage_id == 0 || $parent_id != $frontpage_id) echo esc_html( $delimiter );
    			}
    
    			if ( is_category() ) {
    				$blog_id = get_option( 'page_for_posts' );
    				printf($link, get_the_permalink( $blog_id ), get_the_title($blog_id));
    				$this_cat = get_category(get_query_var('cat'), false);
    				if ($this_cat->parent != 0) {
    					$cats = get_category_parents($this_cat->parent, TRUE, $delimiter);
    					if ($show_current == 0) $cats = preg_replace("#^(.+)$delimiter$#", "$1", $cats);
    					$cats = str_replace('<a', $link_before . '<a' . $link_attr, $cats);
    					$cats = str_replace('</a>', '</a>' . $link_after, $cats);
    					if ($show_title == 0) $cats = preg_replace('/ title="(.*?)"/', '', $cats);
    					echo $cats;
    				}
    				if ($show_current == 1) echo $before . sprintf($text['category'], single_cat_title('', false)) . $after;
    
    			} elseif( is_home() ) {
    				echo $before . get_the_title(get_option( 'page_for_posts' )) . $after;
    			} elseif( is_tax( 'project-cat' ) ) {
    				printf($link, get_the_permalink( $projects_id ), get_the_title( $projects_id ));
    			} elseif ( is_search() ) {
    				echo $before . sprintf($text['search'], get_search_query()) . $after;
    
    			} elseif ( is_day() ) {
    				echo sprintf($link, get_year_link(get_the_time('Y')), get_the_time('Y')) . $delimiter;
    				echo sprintf($link, get_month_link(get_the_time('Y'),get_the_time('m')), get_the_time('F')) . $delimiter;
    				echo $before . get_the_time('d') . $after;
    
    			} elseif ( is_month() ) {
    				echo sprintf($link, get_year_link(get_the_time('Y')), get_the_time('Y')) . $delimiter;
    				echo $before . get_the_time('F') . $after;
    
    			} elseif ( is_year() ) {
    				echo $before . get_the_time('Y') . $after;
    
    			} elseif ( is_single() && !is_attachment() ) {
    				if( get_post_type() == 'portfolio' ) {
    					printf($link, get_the_permalink( $projects_id ), get_the_title( $projects_id ));
    					if ($show_current == 1) echo esc_html( $delimiter ) . $before . get_the_title() . $after;
    
    				} else if ( get_post_type() != 'post' ) {
    					$post_type = get_post_type_object(get_post_type());
    					$slug = $post_type->rewrite;
    					printf($link, $home_link . $slug['slug'] . '/', $post_type->labels->singular_name);
    					if ($show_current == 1) echo esc_html( $delimiter ) . $before . get_the_title() . $after;
    				} else {
    					$blog_id = get_option( 'page_for_posts' );
    					printf($link, get_the_permalink( $blog_id ), get_the_title($blog_id));
    					$cat = get_the_category(); $cat = $cat[0];
    					$cats = get_category_parents($cat, TRUE, $delimiter);
    					if ($show_current == 0) $cats = preg_replace("#^(.+)$delimiter$#", "$1", $cats);
    					$cats = str_replace('<a', $link_before . '<a' . $link_attr, $cats);
    					$cats = str_replace('</a>', '</a>' . $link_after, $cats);
    					if ($show_title == 0) $cats = preg_replace('/ title="(.*?)"/', '', $cats);
    					echo $cats;
    					if ($show_current_post == 1) echo $before . get_the_title() . $after;
    				}
    
    			} elseif ( !is_single() && !is_page() && get_post_type() != 'post' && !is_404() ) {
    				$post_type = get_post_type_object(get_post_type());
    				echo $before . $post_type->labels->singular_name . $after;
    
    			} elseif ( is_attachment() ) {
    				$parent = get_post($parent_id);
    				$cat = get_the_category($parent->ID); $cat = $cat[0];
    				if ($cat) {
    					$cats = get_category_parents($cat, TRUE, $delimiter);
    					$cats = str_replace('<a', $link_before . '<a' . $link_attr, $cats);
    					$cats = str_replace('</a>', '</a>' . $link_after, $cats);
    					if ($show_title == 0) $cats = preg_replace('/ title="(.*?)"/', '', $cats);
    					echo $cats;
    				}
    				printf($link, get_permalink($parent), $parent->post_title);
    				if ($show_current == 1) echo esc_html( $delimiter ) . $before . get_the_title() . $after;
    
    			} elseif ( is_page() && !$parent_id ) {
    				if ($show_current == 1) echo $before . get_the_title() . $after;
    
    			} elseif ( is_page() && $parent_id ) {
    				if ($parent_id != $frontpage_id) {
    					$breadcrumbs = array();
    					while ($parent_id) {
    						$page = get_page($parent_id);
    						if ($parent_id != $frontpage_id) {
    							$breadcrumbs[] = sprintf($link, get_permalink($page->ID), get_the_title($page->ID));
    						}
    						$parent_id = $page->post_parent;
    					}
    					$breadcrumbs = array_reverse($breadcrumbs);
    					for ($i = 0; $i < count($breadcrumbs); $i++) {
    						echo $breadcrumbs[$i];
    						if ($i != count($breadcrumbs)-1) echo esc_html( $delimiter );
    					}
    				}
    				if ($show_current == 1) {
    					if ($show_home_link == 1 || ($parent_id_2 != 0 && $parent_id_2 != $frontpage_id)) echo esc_html( $delimiter );
    					echo $before . get_the_title() . $after;
    				}
    
    			} elseif ( is_tag() ) {
    				echo $before . sprintf($text['tag'], single_tag_title('', false)) . $after;
    
    			} elseif ( is_author() ) {
    		 		global $author;
    				$userdata = get_userdata($author);
    				echo $before . sprintf($text['author'], $userdata->display_name) . $after;
    
    			} elseif ( is_404() ) {
    				echo $before . $text['404'] . $after;
    
    			} elseif ( has_post_format() && !is_singular() ) {
    				echo get_post_format_string( get_post_format() );
    			}
    
    			if ( get_query_var('paged') ) {
    				if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ' (';
    				echo esc_html__('Page', 'woodmart' ) . ' ' . get_query_var('paged');
    				if ( is_category() || is_day() ||
    				 is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')';
    			}
    
    			echo '</div><!-- .breadcrumbs -->';
    
    		}
    	}

    Regards

    Web19
    Participant
    #8322

    Hi! I’ve bought Basel themes, I need help how custom permalinks in the portfolio and a permalink to the portfolio category, and also custom breadcrumbs.

    for example : http://demo.xtemos.com/portfolio/post-name/
    i want to like : http://demo.xtemos.com/projects/post-name/

    and with some of the categories into :
    http://demo.xtemos.com/projects/mockups/post-name/
    http://demo.xtemos.com/projects/pictures/post-name/

    in breadcrumb : Home / Portfolio / Post-name
    i want to change in to : Home / Projects / Mockups / Post-name

Viewing 30 results - 1 through 30 (of 31 total)